no SMS game option if device has no phone

This commit is contained in:
Eric House 2012-07-21 19:02:23 -07:00
parent 549c826c9a
commit 9df8086476

View file

@ -418,7 +418,7 @@ public class NewGameActivity extends XWActivity {
private void checkEnableSMS()
{
if ( XWApp.SMSSUPPORTED ) {
if ( XWApp.SMSSUPPORTED && Utils.deviceSupportsSMS(this) ) {
boolean enabled = true; // is the phone on
findViewById( R.id.sms_separator ).setVisibility( View.VISIBLE );