more tweaks

This commit is contained in:
Eric House 2019-03-06 14:20:46 -08:00
parent 7ffa2ed4fc
commit a79b18b9b7
2 changed files with 8 additions and 10 deletions

View file

@ -1015,7 +1015,7 @@ public class BoardDelegate extends DelegateBase
{ {
// Log.d( TAG, "onPosButton(%s, %s)", action, DbgUtils.toStr( params ) ); // Log.d( TAG, "onPosButton(%s, %s)", action, DbgUtils.toStr( params ) );
boolean handled = true; boolean handled = true;
JNICmd cmd = JNICmd.CMD_NONE; JNICmd cmd = null;
switch ( action ) { switch ( action ) {
case ENABLE_RELAY_DO_OR: case ENABLE_RELAY_DO_OR:
RelayService.setEnabled( m_activity, true ); RelayService.setEnabled( m_activity, true );
@ -1156,7 +1156,7 @@ public class BoardDelegate extends DelegateBase
handled = super.onPosButton( action, params ); handled = super.onPosButton( action, params );
} }
if ( JNICmd.CMD_NONE != cmd ) { if ( null != cmd ) {
handleViaThread( cmd ); handleViaThread( cmd );
} }
@ -2281,7 +2281,6 @@ public class BoardDelegate extends DelegateBase
// Yay! nothing to do // Yay! nothing to do
alertOrderIncrIfAt( thisOrder ); alertOrderIncrIfAt( thisOrder );
} else { } else {
Log.d( TAG, "askNBSPermissions(): posting alert" );
boolean banned = Perm.SEND_SMS.isBanned(); boolean banned = Perm.SEND_SMS.isBanned();
int explID = banned int explID = banned
? R.string.banned_nbs_perms : R.string.missing_sms_perms; ? 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 ) builder.setNegButton( R.string.remove_sms )
.show(); .show();
Log.d( TAG, "askNBSPermissions(): DONE posting alert" );
} }
} }
}; };

View file

@ -2804,10 +2804,10 @@
<string name="button_more_info">Read more</string> <string name="button_more_info">Read more</string>
<string name="banned_nbs_perms">This game is configured to <string name="banned_nbs_perms">This game is configured to
communicate via Data SMS, but as of March 9, 2019, apps from the communicate via Data SMS, but apps from the Google Play Store are no
Google Play Store are no longer allowed to do so (with rare longer allowed to do so (with rare exceptions). You can still open
exceptions). You can still open the game, but it may not be able to the game, but it may not be able to send or receive moves.\n\nYou
send or receive moves.\n\nYou can remove the Data SMS communication can remove the Data SMS communication setting, or use the \"Read
setting, or use the \"Read more\" button to check my progress more\" button to check my progress developing an
developing an alternative.</string> alternative.</string>
</resources> </resources>