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