[Android] Only remove playback service notification

Geoffrey Métais git at videolan.org
Fri Apr 1 12:04:06 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 31 17:46:53 2016 +0200| [817b4014d259558f81d2d6cafa043b978b3ce4ca] | committer: Geoffrey Métais

Only remove playback service notification

> https://code.videolan.org/videolan/vlc-android/commit/817b4014d259558f81d2d6cafa043b978b3ce4ca
---

 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 587fc86..c2a9dc6 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -932,7 +932,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
      */
     private void hideNotification(boolean stopPlayback) {
         stopForeground(true);
-        NotificationManagerCompat.from(this).cancelAll();
+        NotificationManagerCompat.from(this).cancel(3);
         if(stopPlayback)
             stopSelf();
     }



More information about the Android mailing list