[Android] Stop service at playlist end
Geoffrey Métais
git at videolan.org
Tue Dec 13 18:14:23 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Dec 13 18:08:30 2016 +0100| [030ef5fc61edecfa1a1ea6bc0edca2536e4a6d9f] | committer: Geoffrey Métais
Stop service at playlist end
> https://code.videolan.org/videolan/vlc-android/commit/030ef5fc61edecfa1a1ea6bc0edca2536e4a6d9f
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 59be718..f890bc7 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1266,7 +1266,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
Log.w(TAG, "Warning: invalid next index, aborted !");
//Close video player if started
LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent(VideoPlayerActivity.EXIT_PLAYER));
- showNotification();
+ stop();
return;
}
mVideoBackground = !isVideoPlaying() && canSwitchToVideo();
More information about the Android
mailing list