Skip to content
Permalink
Browse files

Fixed bug 4424 - Android windowed mode is broken (Thanks Jonas Thiem!)

  • Loading branch information
1bsyl committed Jan 2, 2019
1 parent 03b0e1d commit 4d2b5c791e1028f2974912a09c33d9cb5cba08d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
@@ -1341,7 +1341,7 @@ public void run() {
};

public void onSystemUiVisibilityChange(int visibility) {
if (SDLActivity.mFullscreenModeActive && (visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) == 0 || (visibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0) {
if (SDLActivity.mFullscreenModeActive && ((visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) == 0 || (visibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0)) {

Handler handler = getWindow().getDecorView().getHandler();
if (handler != null) {

0 comments on commit 4d2b5c7

Please sign in to comment.