Skip to content

Commit 9b50ea8

Browse files
committed
Merge pull request #110398 from syntaxerror247/status-bar-regression-fix
Fix status bar visibility issue after keyboard hides on Android
2 parents eccdb8f + 775dfc5 commit 9b50ea8

File tree

1 file changed

+2
-2
lines changed
  • platform/android/java/lib/src/org/godotengine/godot

1 file changed

+2
-2
lines changed

platform/android/java/lib/src/org/godotengine/godot/Godot.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ class Godot private constructor(val context: Context) {
622622
}
623623

624624
override fun onEnd(animation: WindowInsetsAnimationCompat) {
625-
// Fixes issue on Android 7 and 8 where immersive mode gets auto disabled after the keyboard is hidden.
626-
if (useImmersive.get() && Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
625+
// Fixes an issue on Android 10 and older where immersive mode gets auto disabled after the keyboard is hidden on some devices.
626+
if (useImmersive.get() && Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
627627
runOnHostThread {
628628
enableImmersiveMode(true, true)
629629
}

0 commit comments

Comments
 (0)