mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
fix NPE: onActivityResult gets called before onResume, so reload game
there instead.
This commit is contained in:
parent
7e634ecc64
commit
9a0da56158
1 changed files with 1 additions and 0 deletions
|
@ -507,6 +507,7 @@ public class GameConfigDelegate extends DelegateBase
|
|||
protected void onActivityResult( int requestCode, int resultCode, Intent data )
|
||||
{
|
||||
if ( Activity.RESULT_CANCELED != resultCode ) {
|
||||
loadGame();
|
||||
switch( requestCode ) {
|
||||
case REQUEST_DICT:
|
||||
String dictName = data.getStringExtra( DictsDelegate.RESULT_LAST_DICT );
|
||||
|
|
Loading…
Reference in a new issue