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 shown
main
Tadashi G. Takaoka 2012-01-11 14:50:33 -08:00 committed by Android Git Automerger
commit e7fecbc563
1 changed files with 3 additions and 1 deletions

View File

@ -405,8 +405,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;