[Android] Don't recreate an AudioPlayerActivity if already present in the stack

Ludovic Fauvet git at videolan.org
Sat Sep 29 16:18:28 CEST 2012


vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Sat Sep 29 15:20:25 2012 +0200| [ece06966f009bb4a4334e5601419f04a9c27780a] | committer: Ludovic Fauvet

Don't recreate an AudioPlayerActivity if already present in the stack

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ece06966f009bb4a4334e5601419f04a9c27780a
---

 vlc-android/AndroidManifest.xml |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 9980b05..5a4eff2 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -111,7 +111,8 @@
             android:theme="@android:style/Theme.NoTitleBar" />
         <activity
             android:name=".gui.audio.AudioPlayerActivity"
-            android:theme="@android:style/Theme.NoTitleBar" />
+            android:theme="@android:style/Theme.NoTitleBar"
+            android:launchMode="singleTop" />
 
         <service android:name=".AudioService" />
 



More information about the Android mailing list