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

Thomas Guillem git at videolan.org
Tue Oct 6 10:42:29 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct  6 09:57:46 2015 +0200| [126d333b401cb4f938533140b315f3783c54def3] | committer: Thomas Guillem

Revert "Undim status bar, even if ui is locked."

This reverts commit 9b32d268ad554a3a0db0a9ac7876c0ee093c7dc5.

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

 .../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 b8d38d5..da26ba0 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