Merge "Save keyboard layout only when it is shown"
This commit is contained in:
commit
b230806f44
1 changed files with 3 additions and 1 deletions
|
@ -403,7 +403,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
resetPendingImsCallback();
|
resetPendingImsCallback();
|
||||||
mIsOrientationChanging = true;
|
mIsOrientationChanging = true;
|
||||||
final LatinIME latinIme = getOuterInstance();
|
final LatinIME latinIme = getOuterInstance();
|
||||||
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
if (latinIme.isInputViewShown()) {
|
||||||
|
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void resetPendingImsCallback() {
|
private void resetPendingImsCallback() {
|
||||||
|
|
Loading…
Reference in a new issue