From 82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Fri, 4 Dec 2009 11:58:57 -0800 Subject: [PATCH] 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. --- src/com/android/inputmethod/latin/LatinIME.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/inputmethod/latin/LatinIME.java b/src/com/android/inputmethod/latin/LatinIME.java index a6cf312d2..d72710e5b 100644 --- a/src/com/android/inputmethod/latin/LatinIME.java +++ b/src/com/android/inputmethod/latin/LatinIME.java @@ -673,6 +673,7 @@ public class LatinIME extends InputMethodService } private void handleShift() { + mHandler.removeMessages(MSG_UPDATE_SHIFT_STATE); Keyboard currentKeyboard = mInputView.getKeyboard(); if (mKeyboardSwitcher.isAlphabetMode()) { // Alphabet keyboard