[Android] Allow reparenting for players

Geoffrey Métais git at videolan.org
Thu Jun 25 17:33:19 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 25 17:16:58 2015 +0200| [68019ec9034e6df0647e8c180881a432e980e9cb] | committer: Geoffrey Métais

Allow reparenting for players

Allows to get back directly on AudioPlayer from launcher

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

 vlc-android/tv/AndroidManifest.xml |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/vlc-android/tv/AndroidManifest.xml b/vlc-android/tv/AndroidManifest.xml
index 106cfab..1872ad5 100644
--- a/vlc-android/tv/AndroidManifest.xml
+++ b/vlc-android/tv/AndroidManifest.xml
@@ -59,7 +59,8 @@
         <activity
             android:name="org.videolan.vlc.gui.tv.audioplayer.AudioPlayerActivity"
             android:exported="true"
-            android:launchMode="singleInstance"
+            android:launchMode="singleTop"
+            android:allowTaskReparenting="true"
             android:theme="@style/Theme.Leanback" >
             <!-- This filter captures protocols without type info -->
             <intent-filter>
@@ -233,6 +234,8 @@
         <activity
             android:name=".gui.video.VideoPlayerActivity"
             tools:node="replace"
+            android:launchMode="singleTop"
+            android:allowTaskReparenting="true"
             android:configChanges="orientation|screenSize|keyboard"
             android:windowSoftInputMode="adjustPan"
             android:theme="@style/Theme.VLC.Player" >



More information about the Android mailing list