From a79b18b9b7d3c2030e4a146844aa0cb6079c2563 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 6 Mar 2019 14:20:46 -0800 Subject: [PATCH] more tweaks --- .../java/org/eehouse/android/xw4/BoardDelegate.java | 6 ++---- xwords4/android/app/src/main/res/values/strings.xml | 12 ++++++------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java index 3fef34caf..a52cba82d 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java @@ -1015,7 +1015,7 @@ public class BoardDelegate extends DelegateBase { // Log.d( TAG, "onPosButton(%s, %s)", action, DbgUtils.toStr( params ) ); boolean handled = true; - JNICmd cmd = JNICmd.CMD_NONE; + JNICmd cmd = null; switch ( action ) { case ENABLE_RELAY_DO_OR: RelayService.setEnabled( m_activity, true ); @@ -1156,7 +1156,7 @@ public class BoardDelegate extends DelegateBase handled = super.onPosButton( action, params ); } - if ( JNICmd.CMD_NONE != cmd ) { + if ( null != cmd ) { handleViaThread( cmd ); } @@ -2281,7 +2281,6 @@ public class BoardDelegate extends DelegateBase // Yay! nothing to do alertOrderIncrIfAt( thisOrder ); } else { - Log.d( TAG, "askNBSPermissions(): posting alert" ); boolean banned = Perm.SEND_SMS.isBanned(); int explID = banned ? R.string.banned_nbs_perms : R.string.missing_sms_perms; @@ -2294,7 +2293,6 @@ public class BoardDelegate extends DelegateBase } builder.setNegButton( R.string.remove_sms ) .show(); - Log.d( TAG, "askNBSPermissions(): DONE posting alert" ); } } }; diff --git a/xwords4/android/app/src/main/res/values/strings.xml b/xwords4/android/app/src/main/res/values/strings.xml index 1da31ebc3..3d2f44f84 100644 --- a/xwords4/android/app/src/main/res/values/strings.xml +++ b/xwords4/android/app/src/main/res/values/strings.xml @@ -2804,10 +2804,10 @@ Read more This game is configured to - communicate via Data SMS, but as of March 9, 2019, apps from the - Google Play Store are no longer allowed to do so (with rare - exceptions). You can still open the game, but it may not be able to - send or receive moves.\n\nYou can remove the Data SMS communication - setting, or use the \"Read more\" button to check my progress - developing an alternative. + communicate via Data SMS, but apps from the Google Play Store are no + longer allowed to do so (with rare exceptions). You can still open + the game, but it may not be able to send or receive moves.\n\nYou + can remove the Data SMS communication setting, or use the \"Read + more\" button to check my progress developing an + alternative.