am b230806f: Merge "Save keyboard layout only when it is shown"
* commit 'b230806f44441ea68f608f6430667fed85d3a048': Save keyboard layout only when it is shownmain
commit
8463e159c3
|
@ -403,8 +403,10 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||
resetPendingImsCallback();
|
||||
mIsOrientationChanging = true;
|
||||
final LatinIME latinIme = getOuterInstance();
|
||||
if (latinIme.isInputViewShown()) {
|
||||
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
||||
}
|
||||
}
|
||||
|
||||
private void resetPendingImsCallback() {
|
||||
mHasPendingFinishInputView = false;
|
||||
|
|
Loading…
Reference in New Issue