aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-12-04 11:58:57 -0800
committerAmith Yamasani <yamasani@google.com>2009-12-04 11:58:57 -0800
commit82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e (patch)
treeab5c51253774c1796a3fc96545047fa63b05281b /src
parent84400f65ab4a1526ce47bcd4b84edf4b64b78e18 (diff)
downloadlatinime-82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e.tar.gz
latinime-82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e.tar.xz
latinime-82c68bfbfc9442ebb7d8be842aaf8dedf5ffc76e.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/inputmethod/latin/LatinIME.java1
1 files changed, 1 insertions, 0 deletions
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