mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Save keyboard layout only when it is shown"
This commit is contained in:
commit
b230806f44
@ -403,7 +403,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||
resetPendingImsCallback();
|
||||
mIsOrientationChanging = true;
|
||||
final LatinIME latinIme = getOuterInstance();
|
||||
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
||||
if (latinIme.isInputViewShown()) {
|
||||
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
||||
}
|
||||
}
|
||||
|
||||
private void resetPendingImsCallback() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user