fix NPE: onActivityResult gets called before onResume, so reload game

there instead.
This commit is contained in:
Eric House 2015-02-08 10:35:52 -08:00
parent 7e634ecc64
commit 9a0da56158

View file

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