am d8ba6abf: Merge "[DO NOT MERGE] Fix a bug where autoshift would be ignored coming from emoji" into klp-dev

* commit 'd8ba6abfeef1bce43af3e0ac517e20172c9e8cc5':
  [DO NOT MERGE] Fix a bug where autoshift would be ignored coming from emoji
This commit is contained in:
Ken Wakasa 2013-10-17 09:28:49 -07:00 committed by Android Git Automerger
commit a79431b42b

View file

@ -327,6 +327,9 @@ public final class KeyboardState {
}
mIsAlphabetMode = false;
mIsEmojiMode = true;
// Remember caps lock mode and reset alphabet shift state.
mPrevMainKeyboardWasShiftLocked = mAlphabetShiftState.isShiftLocked();
mAlphabetShiftState.setShiftLocked(false);
mSwitchActions.setEmojiKeyboard();
}