From 16f6be3613809cd39dc0f5d7f316d354fdc1415e Mon Sep 17 00:00:00 2001 From: inorichi Date: Mon, 22 Feb 2016 14:59:57 +0100 Subject: [PATCH] Probable fix for #168. Maybe #81 also. Needs confirmation. --- .../java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.java b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.java index 7965f1654d..25d5de797e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.java +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.java @@ -359,8 +359,10 @@ public class ReaderActivity extends BaseRxActivity { private void createUiHideFlags(boolean statusBarHidden) { uiFlags = 0; uiFlags |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION; - if (statusBarHidden) + if (statusBarHidden) { uiFlags |= View.SYSTEM_UI_FLAG_FULLSCREEN; + uiFlags |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN; + } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) uiFlags |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY; }