Commit b7f37eb2 authored by Geoffrey Métais's avatar Geoffrey Métais

Revert "Keep video player fullscreen on chromebooks"

This reverts commit cf45cca7.

Chromebooks fullscreen mode is fine
parent b0cc218a
...@@ -2857,8 +2857,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C ...@@ -2857,8 +2857,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
UiTools.setViewVisibility(mPlaylistNext, View.VISIBLE); UiTools.setViewVisibility(mPlaylistNext, View.VISIBLE);
UiTools.setViewVisibility(mPlaylistPrevious, View.VISIBLE); UiTools.setViewVisibility(mPlaylistPrevious, View.VISIBLE);
} }
if (!AndroidDevices.isChromeBook) dimStatusBar(false);
dimStatusBar(false);
mOverlayProgress.setVisibility(View.VISIBLE); mOverlayProgress.setVisibility(View.VISIBLE);
if (mPresentation != null) if (mPresentation != null)
mOverlayBackground.setVisibility(View.VISIBLE); mOverlayBackground.setVisibility(View.VISIBLE);
...@@ -2950,8 +2949,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C ...@@ -2950,8 +2949,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
UiTools.setViewVisibility(mPlaylistNext, View.INVISIBLE); UiTools.setViewVisibility(mPlaylistNext, View.INVISIBLE);
UiTools.setViewVisibility(mPlaylistPrevious, View.INVISIBLE); UiTools.setViewVisibility(mPlaylistPrevious, View.INVISIBLE);
mShowing = false; mShowing = false;
if (!AndroidDevices.isChromeBook) dimStatusBar(true);
dimStatusBar(true);
} else if (!fromUser) { } else if (!fromUser) {
/* /*
* Try to hide the Nav Bar again. * Try to hide the Nav Bar again.
...@@ -2966,7 +2964,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C ...@@ -2966,7 +2964,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
* Dim the status bar and/or navigation icons when needed on Android 3.x. * Dim the status bar and/or navigation icons when needed on Android 3.x.
* Hide it on Android 4.0 and later * Hide it on Android 4.0 and later
*/ */
@SuppressWarnings("deprecation")
@TargetApi(Build.VERSION_CODES.KITKAT) @TargetApi(Build.VERSION_CODES.KITKAT)
private void dimStatusBar(boolean dim) { private void dimStatusBar(boolean dim) {
if (dim || mIsLocked) if (dim || mIsLocked)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment