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();
|
resetPendingImsCallback();
|
||||||
mIsOrientationChanging = true;
|
mIsOrientationChanging = true;
|
||||||
final LatinIME latinIme = getOuterInstance();
|
final LatinIME latinIme = getOuterInstance();
|
||||||
|
if (latinIme.isInputViewShown()) {
|
||||||
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
latinIme.mKeyboardSwitcher.saveKeyboardState();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void resetPendingImsCallback() {
|
private void resetPendingImsCallback() {
|
||||||
mHasPendingFinishInputView = false;
|
mHasPendingFinishInputView = false;
|
||||||
|
|
Loading…
Reference in New Issue