[Android] Video Player: always set FLAG_LOW_PROFILE on hide
Thomas Guillem
git at videolan.org
Mon Oct 6 10:52:55 CEST 2014
vlc-ports/android | branch: master | Thomas Guillem <thomas.guillem at gmail.com> | Fri Oct 3 17:42:42 2014 +0200| [35499b5452ecf23e067b7bc9cc22d0f421b88c8f] | committer: Jean-Baptiste Kempf
Video Player: always set FLAG_LOW_PROFILE on hide
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=35499b5452ecf23e067b7bc9cc22d0f421b88c8f
---
.../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 5 ++---
1 file changed, 2 insertions(+), 3 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 5edd94a..27c9507 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1827,9 +1827,8 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
int visibility = layout;
if (dim) {
- if (AndroidDevices.hasCombBar()) {
- visibility |= View.SYSTEM_UI_FLAG_LOW_PROFILE;
- } else {
+ visibility |= View.SYSTEM_UI_FLAG_LOW_PROFILE;
+ if (!AndroidDevices.hasCombBar()) {
visibility |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
if (mOverlayUseStatusBar)
visibility |= View.SYSTEM_UI_FLAG_FULLSCREEN;
More information about the Android
mailing list