mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
more tweaks
This commit is contained in:
parent
2ca85cc0b1
commit
c97905e11e
1 changed files with 2 additions and 4 deletions
|
@ -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" );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue