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:
Eric House 2016-04-20 21:50:09 -07:00
parent c9a1f00a43
commit 18503f2237

View file

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