Fix for 2305181: "shift A shift M" quickly gives Am instead of AM

There was a delayed changing of keyboard to lowercase after typing
a shifted letter that was triggering after the user pressed shift
again. Removed the delayed message when user hits shift.
main
Amith Yamasani 2009-12-04 11:58:57 -08:00
parent 84400f65ab
commit 82c68bfbfc
1 changed files with 1 additions and 0 deletions

View File

@ -673,6 +673,7 @@ public class LatinIME extends InputMethodService
} }
private void handleShift() { private void handleShift() {
mHandler.removeMessages(MSG_UPDATE_SHIFT_STATE);
Keyboard currentKeyboard = mInputView.getKeyboard(); Keyboard currentKeyboard = mInputView.getKeyboard();
if (mKeyboardSwitcher.isAlphabetMode()) { if (mKeyboardSwitcher.isAlphabetMode()) {
// Alphabet keyboard // Alphabet keyboard