[Android] [PATCH] Stop playback service on stop()
Geoffrey Métais
geoffrey.metais at gmail.com
Thu Nov 19 11:35:14 CET 2015
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 2a5dce1..dac69b2 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -942,6 +942,8 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
executeUpdate();
executeUpdateProgress();
changeAudioFocus(false);
+
+ stopSelf();
}
private void determinePrevAndNextIndices() {
--
2.5.0
More information about the Android
mailing list