#2948: make AntennaPod go to last activity when launched again, per

standard Android App behavior.
This commit is contained in:
orionlee 2019-01-14 14:17:59 -08:00
parent 45253d16d2
commit 81a624bd88
1 changed files with 5 additions and 2 deletions

View File

@ -47,10 +47,13 @@
<activity
android:name=".activity.SplashActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTask"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@style/Theme.AntennaPod.Dark.Splash">
<!-- android:launchMode="singleTask" removed for #2948, so that
when app is launched again, the app will go to the last activity users use
(if the app has been used recently, e.g., last 30 minutes),
rather than always go to MainActivity (launched by SplashActivity here) -->
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>