[Android] Show notification when playing video in background

Geoffrey Métais git at videolan.org
Thu Nov 19 16:55:37 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Nov 19 13:30:55 2015 +0100| [2dee26b2ed37ddbee38227af445ae7a8db41af83] | committer: Geoffrey Métais

Show notification when playing video in background

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2dee26b2ed37ddbee38227af445ae7a8db41af83
---

 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 dac69b2..e9d4cf0 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1628,6 +1628,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
         mCurrentIndex = index;
 
         notifyTrackChanged();
+        showNotification();
     }
 
     /**



More information about the Android mailing list