Remove auto capitalization by Shift+puncs

bug: 3133312
Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30c
main
Ken Wakasa 2010-10-27 14:10:36 +09:00
parent 276845c7a9
commit 8252de1a60
1 changed files with 0 additions and 7 deletions

View File

@ -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);