mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
Merge branch 'android_branch' into android_invite
This commit is contained in:
commit
86138ec139
2 changed files with 5 additions and 3 deletions
|
@ -249,7 +249,8 @@ utilTimerFired( XW_UtilCtxt* uc, XWTimerReason why, int handle )
|
|||
AndUtil* util = (AndUtil*)uc;
|
||||
TimerStorage* timerStorage = &util->timerStorage[why];
|
||||
XP_ASSERT( handle == (int)timerStorage );
|
||||
return (*timerStorage->proc)( timerStorage->closure, why );
|
||||
return (handle == (int)timerStorage)
|
||||
&& (*timerStorage->proc)( timerStorage->closure, why );
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -209,6 +209,7 @@ public class GamesList extends XWListActivity
|
|||
|
||||
setContentView(R.layout.game_list);
|
||||
registerForContextMenu( getListView() );
|
||||
DBUtils.setDBChangeListener( this );
|
||||
|
||||
boolean isUpgrade = FirstRunDialog.show( this, false );
|
||||
PreferenceManager.setDefaultValues( this, R.xml.xwprefs, isUpgrade );
|
||||
|
@ -233,9 +234,9 @@ public class GamesList extends XWListActivity
|
|||
|
||||
Intent intent = getIntent();
|
||||
startFirstHasDict( intent );
|
||||
askDefaultNameIf();
|
||||
startNewNetGame( intent );
|
||||
|
||||
DBUtils.setDBChangeListener( this );
|
||||
askDefaultNameIf();
|
||||
} // onCreate
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue