Fix a bug where autoshift would be ignored coming from emoji

Bug: 11123691
Change-Id: I36474e12e34af95051129840865015f85595411b
This commit is contained in:
Jean Chalard 2013-10-11 19:33:59 +09:00
parent 585c67118a
commit 0f45e1bfbc

View file

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