[Android] Hide overlay on activity pause

Geoffrey Métais git at videolan.org
Mon Dec 14 12:03:06 CET 2015


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

Hide overlay on activity pause

(cherry picked from commit 091ac3ee89e5a01878681aa8eb088c951c59ca40)

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

 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 7ab2216..5f1766a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -531,6 +531,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