From 8252de1a60cffd859ac1d44cd6c061f78e59a078 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Wed, 27 Oct 2010 14:10:36 +0900 Subject: [PATCH] Remove auto capitalization by Shift+puncs bug: 3133312 Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30c --- java/src/com/android/inputmethod/latin/LatinIME.java | 7 ------- 1 file changed, 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);