mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
cleanup; log non-hex gameid too for easier searching
This commit is contained in:
parent
b1ea1185f1
commit
94b51cf53b
2 changed files with 10 additions and 12 deletions
|
@ -948,7 +948,7 @@ public class GameUtils {
|
|||
do {
|
||||
rint = Utils.nextRandomInt();
|
||||
} while ( 0 == rint );
|
||||
DbgUtils.logf( "newGameID()=>%X", rint );
|
||||
DbgUtils.logf( "newGameID()=>%X (%d)", rint, rint );
|
||||
return rint;
|
||||
}
|
||||
|
||||
|
|
|
@ -193,7 +193,6 @@ public class NewGameDelegate extends DelegateBase {
|
|||
break;
|
||||
case INVITE_FOR_BT: // user selected device
|
||||
case INVITE_FOR_SMS:
|
||||
if ( Activity.RESULT_CANCELED != resultCode ) {
|
||||
m_nameForBT = INVITE_FOR_BT == requestCode;
|
||||
String[] remoteDevs =
|
||||
data.getStringArrayExtra( InviteDelegate.DEVS );
|
||||
|
@ -204,7 +203,6 @@ public class NewGameDelegate extends DelegateBase {
|
|||
m_gameName = getString( R.string.dft_name_fmt,
|
||||
m_gameID & 0xFFFF );
|
||||
showDialog( DlgID.NAME_GAME );
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue