[Android] Do not end media session when service is killed
Geoffrey Métais
git at videolan.org
Thu Nov 23 11:13:01 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 22 16:04:49 2017 +0100| [0ca84c7f07e1d99150739bbc13801962ad0f315e] | committer: Geoffrey Métais
Do not end media session when service is killed
(cherry picked from commit dcd7828e81e45ff399495a33ae6f098f4b57880b)
> https://code.videolan.org/videolan/vlc-android/commit/0ca84c7f07e1d99150739bbc13801962ad0f315e
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 5b967a45c..e6d94dc4b 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -359,7 +359,6 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
super.onDestroy();
stop(true);
if (mMediaSession != null) {
- mMediaSession.setActive(false);
mMediaSession.release();
mMediaSession = null;
}
More information about the Android
mailing list