[Android] Hide notification when popup is shown

Geoffrey Métais git at videolan.org
Thu Jun 22 15:50:09 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 22 15:47:35 2017 +0200| [ded852ebb8370657a4f321cf254816c58f5e97ce] | committer: Geoffrey Métais

Hide notification when popup is shown

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

 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 9a72e6cf6..3b3341878 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -2101,6 +2101,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
         if (mPopupManager == null)
             mPopupManager = new PopupManager(this);
         mPopupManager.showPopup();
+        hideNotification();
     }
 
     public void setVideoTrackEnabled(boolean enabled) {



More information about the Android mailing list