Save keyboard layout only when it is shown
Bug: 5130446 Change-Id: I150b4a053036eae050099155169325f0d1f7dfed
This commit is contained in:
parent
e2d00ab470
commit
f2c9a88887
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue