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,7 +2857,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
UiTools.setViewVisibility(mPlaylistNext, View.VISIBLE);
UiTools.setViewVisibility(mPlaylistPrevious, View.VISIBLE);
}
if (!AndroidDevices.isChromeBook)
dimStatusBar(false);
mOverlayProgress.setVisibility(View.VISIBLE);
if (mPresentation != null)
......@@ -2950,7 +2949,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
UiTools.setViewVisibility(mPlaylistNext, View.INVISIBLE);
UiTools.setViewVisibility(mPlaylistPrevious, View.INVISIBLE);
mShowing = false;
if (!AndroidDevices.isChromeBook)
dimStatusBar(true);
} else if (!fromUser) {
/*
......@@ -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.
* Hide it on Android 4.0 and later
*/
@SuppressWarnings("deprecation")
@TargetApi(Build.VERSION_CODES.KITKAT)
private void dimStatusBar(boolean dim) {
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