mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-06 05:24:46 +01:00
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:
parent
2b3ddcb431
commit
e4c7b7ab40
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue