mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
when not using FLAG_ACTIVITY_NEW_TASK need to look for invite-launched
intents in onCreate too.
This commit is contained in:
parent
9bf22c12f4
commit
5fc7836eca
1 changed files with 3 additions and 2 deletions
|
@ -205,6 +205,7 @@ public class GamesList extends XWListActivity
|
||||||
|
|
||||||
setContentView(R.layout.game_list);
|
setContentView(R.layout.game_list);
|
||||||
registerForContextMenu( getListView() );
|
registerForContextMenu( getListView() );
|
||||||
|
DBUtils.setDBChangeListener( this );
|
||||||
|
|
||||||
boolean isUpgrade = FirstRunDialog.show( this, false );
|
boolean isUpgrade = FirstRunDialog.show( this, false );
|
||||||
PreferenceManager.setDefaultValues( this, R.xml.xwprefs, isUpgrade );
|
PreferenceManager.setDefaultValues( this, R.xml.xwprefs, isUpgrade );
|
||||||
|
@ -229,9 +230,9 @@ public class GamesList extends XWListActivity
|
||||||
|
|
||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
startFirstHasDict( intent );
|
startFirstHasDict( intent );
|
||||||
askDefaultNameIf();
|
startNewNetGame( intent );
|
||||||
|
|
||||||
DBUtils.setDBChangeListener( this );
|
askDefaultNameIf();
|
||||||
} // onCreate
|
} // onCreate
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue