Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
Matthew Lee 2025-03-26 01:45:34 -04:00 committed by GitHub
parent 621d15aa6d
commit d4e7d06034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2253,10 +2253,8 @@ public final class KMManager {
// Store the new height based on the current orientation
if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
editor.putInt(KMManager.KMKey_KeyboardHeightLandscape, height);
editor.commit();
} else if (orientation == Configuration.ORIENTATION_PORTRAIT) {
} else /* orientation == Configuration.ORIENTATION_PORTRAIT */ {
editor.putInt(KMManager.KMKey_KeyboardHeightPortrait, height);
editor.commit();
}
}
// Confirm new LayoutParams for in-app or system keyboards