[Android] Hide overlay on activity pause

Geoffrey Métais git at videolan.org
Mon Dec 14 11:56:01 CET 2015


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Dec 14 11:55:26 2015 +0100| [091ac3ee89e5a01878681aa8eb088c951c59ca40] | committer: Geoffrey Métais

Hide overlay on activity pause

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

 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 14b4c30..6108069 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -552,6 +552,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
     @Override
     protected void onPause() {
         super.onPause();
+        hideOverlay(true);
         mSeekbar.setOnSeekBarChangeListener(null);
         mLock.setOnClickListener(null);
         mPlayPause.setOnClickListener(null);



More information about the Android mailing list