[Android] Undim status bar, even if ui is locked.

Sébastien Toque git at videolan.org
Tue Sep 29 23:22:22 CEST 2015


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Sep 29 23:22:12 2015 +0200| [9b32d268ad554a3a0db0a9ac7876c0ee093c7dc5] | committer: Sébastien Toque

Undim status bar, even if ui is locked.

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    4 ++--
 1 file changed, 2 insertions(+), 2 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 da26ba0..b8d38d5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2269,16 +2269,16 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         mHandler.sendEmptyMessage(SHOW_PROGRESS);
         if (!mShowing) {
             mShowing = true;
+            setActionBarVisibility(true);
             if (!mIsLocked) {
-                setActionBarVisibility(true);
                 mPlayPause.setVisibility(View.VISIBLE);
                 if (mTracks != null)
                     mTracks.setVisibility(View.VISIBLE);
                 if (mAdvOptions !=null)
                     mAdvOptions.setVisibility(View.VISIBLE);
                 mSize.setVisibility(View.VISIBLE);
-                dimStatusBar(false);
             }
+            dimStatusBar(false);
             mOverlayProgress.setVisibility(View.VISIBLE);
             if (mPresentation != null) mOverlayBackground.setVisibility(View.VISIBLE);
         }



More information about the Android mailing list