mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
If we get an intent and can't open the game it names, that's probably because GamesListActivity has been relauched on top of itself. So exit with a (temporary) Toast message.
This commit is contained in:
parent
c9a1f00a43
commit
18503f2237
1 changed files with 12 additions and 6 deletions
|
@ -2320,12 +2320,18 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
|
||||
private void tryStartsFromIntent( Intent intent )
|
||||
{
|
||||
startFirstHasDict( intent );
|
||||
startNewNetGame( intent );
|
||||
startHasGameID( intent );
|
||||
startRematch( intent );
|
||||
tryAlert( intent );
|
||||
tryNFCIntent( intent );
|
||||
try {
|
||||
startFirstHasDict( intent );
|
||||
startNewNetGame( intent );
|
||||
startHasGameID( intent );
|
||||
startRematch( intent );
|
||||
tryAlert( intent );
|
||||
tryNFCIntent( intent );
|
||||
} catch ( GameLock.GameLockedException gle ) {
|
||||
DbgUtils.loge( gle );
|
||||
showToast( "Finishing; game already open" ); // FIX ME!!!
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
||||
private void doOpenGame( Object[] params )
|
||||
|
|
Loading…
Reference in a new issue