am b230806f: Merge "Save keyboard layout only when it is shown"
* commit 'b230806f44441ea68f608f6430667fed85d3a048': Save keyboard layout only when it is shownmain
commit
8463e159c3
|
@ -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 New Issue