mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-07 20:46:17 +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 )
|
private void tryStartsFromIntent( Intent intent )
|
||||||
{
|
{
|
||||||
|
try {
|
||||||
startFirstHasDict( intent );
|
startFirstHasDict( intent );
|
||||||
startNewNetGame( intent );
|
startNewNetGame( intent );
|
||||||
startHasGameID( intent );
|
startHasGameID( intent );
|
||||||
startRematch( intent );
|
startRematch( intent );
|
||||||
tryAlert( intent );
|
tryAlert( intent );
|
||||||
tryNFCIntent( intent );
|
tryNFCIntent( intent );
|
||||||
|
} catch ( GameLock.GameLockedException gle ) {
|
||||||
|
DbgUtils.loge( gle );
|
||||||
|
showToast( "Finishing; game already open" ); // FIX ME!!!
|
||||||
|
finish();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void doOpenGame( Object[] params )
|
private void doOpenGame( Object[] params )
|
||||||
|
|
Loading…
Add table
Reference in a new issue