abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Keyboard2View.java
diff options
context:
space:
mode:
authorJules Aguillon2024-12-28 23:06:06 +0100
committerJules Aguillon2024-12-28 23:06:06 +0100
commit5b5d8c692e7d188349dac47492c4a50503ef1904 (patch)
tree9d1db1f0fdd629a381984f5baf90d83d40ddb63f /srcs/juloo.keyboard2/Keyboard2View.java
parent926b99cbfe0506dc5cea915a71ea8da79075b59f (diff)
downloadunexpected-keyboard-5b5d8c692e7d188349dac47492c4a50503ef1904.tar.gz
unexpected-keyboard-5b5d8c692e7d188349dac47492c4a50503ef1904.zip
Fix status bar artifact on opens and closes
On API 30 to 34, the status bar changes color when the keyboard appears and disappears. A ghost of the changed status bar is animated by the same animation used for the keyboard, which is unexpected.
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2View.java')
-rw-r--r--srcs/juloo.keyboard2/Keyboard2View.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2View.java b/srcs/juloo.keyboard2/Keyboard2View.java
index 6d59974..f124b6b 100644
--- a/srcs/juloo.keyboard2/Keyboard2View.java
+++ b/srcs/juloo.keyboard2/Keyboard2View.java
@@ -264,7 +264,7 @@ public class Keyboard2View extends View
int insets_bottom = 0;
// LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS is set in [Keyboard2#updateSoftInputWindowLayoutParams].
// and keyboard is allowed do draw behind status/navigation bars
- if (VERSION.SDK_INT >= 30)
+ if (VERSION.SDK_INT >= 35)
{
WindowMetrics metrics =
((WindowManager)getContext().getSystemService(Context.WINDOW_SERVICE))