[Android] Secondary Display : Allow to turn the remote sreen off

Alexandre Perraud git at videolan.org
Thu Apr 10 17:20:11 CEST 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Apr 10 15:48:45 2014 +0200| [cc00b027521df3c7524a4f1a25b7fd9d04545945] | committer: Jean-Baptiste Kempf

Secondary Display : Allow to turn the remote sreen off

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=cc00b027521df3c7524a4f1a25b7fd9d04545945
---

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java      |    6 ------
 1 file changed, 6 deletions(-)

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 335665f..69e9bfb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1536,10 +1536,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
      * show overlay the the default timeout
      */
     private void showOverlay() {
-        if (mPresentation == null)
             showOverlay(OVERLAY_TIMEOUT);
-        else
-            showOverlay(OVERLAY_INFINITE); // Hack until we have fullscreen controls
     }
 
     /**
@@ -1571,9 +1568,6 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
      * hider overlay
      */
     private void hideOverlay(boolean fromUser) {
-        if (mPresentation != null)
-            return; // Hack until we have fullscreen controls
-
         if (mShowing) {
             mHandler.removeMessages(SHOW_PROGRESS);
             Log.i(TAG, "remove View!");



More information about the Android mailing list