DO NOT MERGE. Save keyboard layout only when it is shown
This is a cherrypick of I150b4a05 from master to ics-mr1. Bug: 5130446 Bug: 5787394 Change-Id: Ie0d58283042166537ff161344564c3c51b0d1296
This commit is contained in:
parent
c960695f38
commit
3e405f3afd
1 changed files with 3 additions and 1 deletions
|
@ -405,7 +405,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 a new issue