[Android] Set VideoPLayer as SingleTask

Geoffrey Métais git at videolan.org
Tue Aug 22 15:55:03 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Aug 22 15:53:40 2017 +0200| [968328aec48860f6b0cce14d8c9035ae71b575fa] | committer: Geoffrey Métais

Set VideoPLayer as SingleTask

It is more consistent to have a unique video player activity, and it
prevents conflicts between PiP and background modes

> https://code.videolan.org/videolan/vlc-android/commit/968328aec48860f6b0cce14d8c9035ae71b575fa
---

 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 b0dee34fb..8018f6b31 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -466,7 +466,7 @@
             android:supportsPictureInPicture="true"
             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
             android:exported="true"
-            android:launchMode="singleTop"
+            android:launchMode="singleTask"
             android:theme="@style/Theme.VLC.Player" />
 
         <activity



More information about the Android mailing list