[Android] Improve video player task management

Geoffrey Métais git at videolan.org
Thu Oct 12 19:04:42 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Oct 12 18:38:20 2017 +0200| [b4fdd37f5faba87fb06f40a042eb20c656e15457] | committer: Geoffrey Métais

Improve video player task management

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

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

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 8018f6b31..df54753ab 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -463,6 +463,8 @@
         <activity
             android:name=".gui.video.VideoPlayerActivity"
             android:resizeableActivity="true"
+            android:finishOnTaskLaunch="true"
+            android:taskAffinity="vlc.player"
             android:supportsPictureInPicture="true"
             android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
             android:exported="true"



More information about the Android mailing list