Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug 4424 - Android windowed mode is broken (Thanks Jonas Thiem!)
  • Loading branch information
1bsyl committed Jan 2, 2019
1 parent 03b0e1d commit 4d2b5c7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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) {
Expand Down

0 comments on commit 4d2b5c7

Please sign in to comment.