[Android] fix refresh when changing folders in preferences

Sébastien Toque git at videolan.org
Sun Dec 8 12:11:29 CET 2013


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sun Dec  8 12:10:59 2013 +0100| [e09df9fbae7af9533ba8c45c981e84a664ed8760] | committer: Sébastien Toque

fix refresh when changing folders in preferences

singleInstance prevent StartActivityForResult/onActivityResult
from working properly. singleTask is similar to singleInstance,
but allow other activities in the same task,
allowing them to communicate.

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

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

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



More information about the Android mailing list