cleanup; log non-hex gameid too for easier searching

This commit is contained in:
Eric House 2014-09-12 06:07:32 -07:00
parent b1ea1185f1
commit 94b51cf53b
2 changed files with 10 additions and 12 deletions

View file

@ -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;
}

View file

@ -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;
}
}