diff options
author | 2010-11-19 17:21:55 -0800 | |
---|---|---|
committer | 2010-11-19 17:21:55 -0800 | |
commit | 07f903afbaff989259624f9b757389748929e51a (patch) | |
tree | bd9d3946a46f226b10e5f54e45420cc8ca961a9d /java/src/com/android/inputmethod/latin/KeyboardSwitcher.java | |
parent | 3757d16083aca2bca54297b9517e4d15e3bf98d7 (diff) | |
parent | 6769c67987f323008647f5d029c02f8cc95272ee (diff) | |
download | latinime-07f903afbaff989259624f9b757389748929e51a.tar.gz latinime-07f903afbaff989259624f9b757389748929e51a.tar.xz latinime-07f903afbaff989259624f9b757389748929e51a.zip |
Merge "Fix automatic temporary upper case mode behaviour"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/KeyboardSwitcher.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/KeyboardSwitcher.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java index 5f78cb91e..0d116dcf9 100644 --- a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java @@ -499,26 +499,26 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha if (isShiftLocked()) { // Shift key is pressed while caps lock state, we will treat this state as shifted // caps lock state and mark as if shift key pressed while normal state. - setManualTemporaryUpperCase(true); shiftKeyState.onPress(); + setManualTemporaryUpperCase(true); } else if (isAutomaticTemporaryUpperCase()) { // Shift key is pressed while automatic temporary upper case, we have to move to // manual temporary upper case. + shiftKeyState.onPress(); setManualTemporaryUpperCase(true); - shiftKeyState.onPressOnShifted(); } else if (isShiftedOrShiftLocked()) { // In manual upper case state, we just record shift key has been pressing while // shifted state. shiftKeyState.onPressOnShifted(); } else { // In base layout, chording or manual temporary upper case mode is started. - toggleShift(); shiftKeyState.onPress(); + toggleShift(); } } else { // In symbol mode, just toggle symbol and symbol more keyboard. - toggleShift(); shiftKeyState.onPress(); + toggleShift(); } } |