mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-28 01:32:15 +01:00
#2948: make AntennaPod go to last activity when launched again, per
standard Android App behavior.
This commit is contained in:
parent
45253d16d2
commit
81a624bd88
@ -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
Block a user