when not using FLAG_ACTIVITY_NEW_TASK need to look for invite-launched

intents in onCreate too.
This commit is contained in:
Andy2 2011-07-21 04:52:12 -07:00
parent 9bf22c12f4
commit 5fc7836eca

View file

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