got back to singleTask

Having intents launch second instances of GameList on top of open games
is sucking.
This commit is contained in:
Eric House 2020-04-20 14:37:39 -07:00
parent fe9eb9ae7c
commit 055eceffba
2 changed files with 4 additions and 2 deletions

View file

@ -55,7 +55,7 @@
<activity android:name="MainActivity"
android:label="@string/app_name"
android:launchMode="standard"
android:launchMode="singleTask"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View file

@ -37,7 +37,9 @@ public class Quarantine {
count = get().getFor( rowid );
}
boolean result = count == 0; // Not too strict?
Log.d( TAG, "safeToOpen(%d) => %b (count=%d)", rowid, result, count );
if ( !result ) {
Log.d( TAG, "safeToOpen(%d) => %b (count=%d)", rowid, result, count );
}
return result;
}