[Android] Remove popup when switching back to video player
Geoffrey Métais
git at videolan.org
Fri Apr 1 12:04:07 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 31 17:47:24 2016 +0200| [a0fab7f23c94fc90b4f39bd462c699654846ac2a] | committer: Geoffrey Métais
Remove popup when switching back to video player
> https://code.videolan.org/videolan/vlc-android/commit/a0fab7f23c94fc90b4f39bd462c699654846ac2a
---
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 c2a9dc6..4f155d1 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -498,6 +498,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
} else if (action.equalsIgnoreCase(ACTION_REMOTE_LAST_VIDEO_PLAYLIST)) {
loadLastPlaylist(TYPE_VIDEO);
} else if (action.equalsIgnoreCase(ACTION_REMOTE_SWITCH_VIDEO)) {
+ removePopup();
if (hasMedia()) {
getCurrentMediaWrapper().removeFlags(MediaWrapper.MEDIA_FORCE_AUDIO);
switchToVideo();
More information about the Android
mailing list