[Android] VideoPlayer: call cleanUI when switching to popup

Thomas Guillem git at videolan.org
Tue May 23 16:54:14 CEST 2017


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 23 16:47:56 2017 +0200| [55e5d16291eb0881e021b91661303364f4b741a5] | committer: Thomas Guillem

VideoPlayer: call cleanUI when switching to popup

Mainly to disable the SurfaceFrame layout listener.

Fixes #277

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 716fa876f..f6ef78ecd 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1843,6 +1843,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
             return;
         mSwitchingView = true;
         mSwitchToPopup = true;
+        cleanUI();
         exitOK();
     }
 



More information about the Android mailing list