Skip to content

Commit

Permalink
Workaround for Android 15 fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
rkkr committed Oct 24, 2024
1 parent 0616dc9 commit 2382af9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
compileSdk 35
minSdkVersion 19
targetSdkVersion 35
versionCode 106
versionName "5.20"
versionCode 107
versionName "5.21"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ public class KeyboardView extends View {
private final Rect mKeyBackgroundPadding = new Rect();
private static final float KET_TEXT_SHADOW_RADIUS_DISABLED = -1.0f;
public int mCustomColor = 0;
private int mSystemBarHeight = 0;
// Must be static to persist last known navbar height between View recreations
// as setOnApplyWindowInsetsListener is only invoked on layout changes
private static int mSystemBarHeight = 0;

// The maximum key label width in the proportion to the key width.
private static final float MAX_LABEL_RATIO = 0.90f;
Expand Down

0 comments on commit 2382af9

Please sign in to comment.