mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
got back to singleTask
Having intents launch second instances of GameList on top of open games is sucking.
This commit is contained in:
parent
fe9eb9ae7c
commit
055eceffba
2 changed files with 4 additions and 2 deletions
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
<activity android:name="MainActivity"
|
<activity android:name="MainActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:launchMode="standard"
|
android:launchMode="singleTask"
|
||||||
>
|
>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
|
@ -37,7 +37,9 @@ public class Quarantine {
|
||||||
count = get().getFor( rowid );
|
count = get().getFor( rowid );
|
||||||
}
|
}
|
||||||
boolean result = count == 0; // Not too strict?
|
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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue