Apply SDL patch https://hg.libsdl.org/SDL/rev/3b1f484500f0
This commit is contained in:
@@ -1342,7 +1342,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
};
|
};
|
||||||
|
|
||||||
public void onSystemUiVisibilityChange(int visibility) {
|
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();
|
Handler handler = getWindow().getDecorView().getHandler();
|
||||||
if (handler != null) {
|
if (handler != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user