aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2010-10-27 14:10:36 +0900
committerKen Wakasa <kwakasa@google.com>2010-10-27 14:10:36 +0900
commit8252de1a60cffd859ac1d44cd6c061f78e59a078 (patch)
treec712ee29ee3840399d1076a48e20fe2dabcaa026 /java/src/com/android/inputmethod/latin/LatinIME.java
parent276845c7a9ea90fd34289d060873c8e3a7ed342c (diff)
downloadlatinime-8252de1a60cffd859ac1d44cd6c061f78e59a078.tar.gz
latinime-8252de1a60cffd859ac1d44cd6c061f78e59a078.tar.xz
latinime-8252de1a60cffd859ac1d44cd6c061f78e59a078.zip
Remove auto capitalization by Shift+puncs
bug: 3133312 Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 6d8803148..a0d797c42 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -2022,13 +2022,6 @@ public class LatinIME extends InputMethodService
if (inputView == null) return;
LatinKeyboard latinKeyboard = inputView.getLatinKeyboard();
if (latinKeyboard == null) return;
- if (latinKeyboard.isShiftLocked()) {
- suggestion = suggestion.toString().toUpperCase();
- } else if (preferCapitalization()
- || (mKeyboardSwitcher.isAlphabetMode() && latinKeyboard.isShifted())) {
- suggestion = suggestion.toString().toUpperCase().charAt(0)
- + suggestion.subSequence(1, suggestion.length()).toString();
- }
InputConnection ic = getCurrentInputConnection();
if (ic != null) {
rememberReplacedWord(suggestion);