Merge pull request #2984 from orionlee/to_last_activity_when_launch_2948
make AntennaPod go to last activity (rather than MainActivity) when launched again
This commit is contained in:
commit
5b9914b435
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue