Fix a bug where autoshift would be ignored coming from emoji
Bug: 11123691 Change-Id: I36474e12e34af95051129840865015f85595411b
This commit is contained in:
parent
585c67118a
commit
0f45e1bfbc
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue