am 3e405f3a: DO NOT MERGE. Save keyboard layout only when it is shown
* commit '3e405f3afd9bf5c5978d05c07dc186e862885f78': DO NOT MERGE. Save keyboard layout only when it is shownmain
commit
3afb75f0c1
|
@ -405,8 +405,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