diff options
author | orionlee <orionlee@yahoo.com> | 2019-01-14 14:17:59 -0800 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-01-14 14:17:59 -0800 |
commit | 81a624bd884311ee8f7c38e3eb877b12c482a3f9 (patch) | |
tree | 8263be71d04808b5db3968a45ad49dbd30129feb /app | |
parent | 45253d16d2327edaee6896372807c859f827b879 (diff) | |
download | AntennaPod-81a624bd884311ee8f7c38e3eb877b12c482a3f9.zip |
#2948: make AntennaPod go to last activity when launched again, per
standard Android App behavior.
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index cff85e905..0c3685ed1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -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"/> |