[Android] Update notification when playlist is ended

Geoffrey Métais git at videolan.org
Thu Nov 3 11:34:26 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov  2 10:11:03 2016 +0100| [3d9c652ed1d66f909bd88827a39f67e659867882] | committer: Geoffrey Métais

Update notification when playlist is ended

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

 vlc-android/src/org/videolan/vlc/PlaybackService.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index c35c582..f7b37e6 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1201,6 +1201,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
             Log.w(TAG, "Warning: invalid next index, aborted !");
             //Close video player if started
             LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent(VideoPlayerActivity.EXIT_PLAYER));
+            showNotification();
             return;
         }
         mVideoBackground = !isVideoPlaying() && canSwitchToVideo();



More information about the Android mailing list