mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-14 20:47:54 +01:00
no SMS game option if device has no phone
This commit is contained in:
parent
549c826c9a
commit
9df8086476
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ public class NewGameActivity extends XWActivity {
|
||||||
|
|
||||||
private void checkEnableSMS()
|
private void checkEnableSMS()
|
||||||
{
|
{
|
||||||
if ( XWApp.SMSSUPPORTED ) {
|
if ( XWApp.SMSSUPPORTED && Utils.deviceSupportsSMS(this) ) {
|
||||||
boolean enabled = true; // is the phone on
|
boolean enabled = true; // is the phone on
|
||||||
findViewById( R.id.sms_separator ).setVisibility( View.VISIBLE );
|
findViewById( R.id.sms_separator ).setVisibility( View.VISIBLE );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue