handle intents on startup via a post()

When app's launched via a move-made intent that will lead to opening
the board, let the GamesList fragment get fully in place before
opening the board. To open two at the same time confuses my fragment
code (OS kills it with a fatal exception.)
This commit is contained in:
Eric House 2016-07-29 07:19:54 -07:00
parent 2b3ddcb431
commit e4c7b7ab40

View file

@ -964,9 +964,14 @@ public class GamesListDelegate extends ListDelegateBase
NetUtils.informOfDeaths( m_activity );
tryStartsFromIntent( getIntent() );
post( new Runnable() {
@Override
public void run() {
tryStartsFromIntent( getIntent() );
getDictForLangIf();
}
} );
getDictForLangIf();
} // init
@Override