[Android] Clear notification on playback service creation

Geoffrey Métais git at videolan.org
Tue Jan 31 15:18:10 CET 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 31 15:15:54 2017 +0100| [a09a75d709124cce4c6efbcdedce75f748b53e7a] | committer: Geoffrey Métais

Clear notification on playback service creation

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

 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 e0a48d8..6332e9d 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -231,6 +231,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
     public void onCreate() {
         super.onCreate();
 
+        hideNotification();
         mSettings = PreferenceManager.getDefaultSharedPreferences(this);
         mMediaPlayer = newMediaPlayer();
         mMediaPlayer.setEqualizer(VLCOptions.getEqualizer(this));



More information about the Android mailing list