[Android] only allow one MainActivity

Sébastien Toque git at videolan.org
Wed Nov 20 19:50:59 CET 2013


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Wed Nov 20 19:50:50 2013 +0100| [a9c93e747f869a98a6cf01bd89a7966e61c22616] | committer: Sébastien Toque

only allow one MainActivity

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

 vlc-android/AndroidManifest.xml |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index fa5a3df..33cd35f 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -28,6 +28,7 @@
         <activity
             android:name=".gui.MainActivity"
             android:configChanges="orientation|screenSize"
+            android:launchMode="singleInstance"
             android:icon="@drawable/icon"
             android:label="@string/app_name"
             android:theme="@style/Theme.VLC" >



More information about the Android mailing list