Remove auto capitalization by Shift+puncs
bug: 3133312 Change-Id: I12a05d9028ab2fad07e1819407d63cf8ffd4d30cmain
parent
276845c7a9
commit
8252de1a60
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue