Commit 77dda481 authored by Geoffrey Métais's avatar Geoffrey Métais

Immersive mode starting kitkat

This allows touchevent to be handled direclty, and not only once system UI is visible
parent 45110429
......@@ -1971,6 +1971,8 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
visibility |= View.SYSTEM_UI_FLAG_LOW_PROFILE;
if (!AndroidDevices.hasCombBar()) {
visibility |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
if (LibVlcUtil.isKitKatOrLater())
visibility |= View.SYSTEM_UI_FLAG_IMMERSIVE;
if (mOverlayUseStatusBar)
visibility |= View.SYSTEM_UI_FLAG_FULLSCREEN;
}
......
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