diff options
author | 2012-08-03 09:32:25 -0700 | |
---|---|---|
committer | 2012-08-03 09:32:27 -0700 | |
commit | 15b28432bab6b530d82ba01e0ef6a19cd1a4c698 (patch) | |
tree | 0224459d8d6e693eb44e79b364465427caf6d116 /java/src | |
parent | 54e84a00fc032ba566cbda41feafa71de77e1c43 (diff) | |
parent | 8ee4b35c7010c6e8f792e49a88dc4e908f7230fc (diff) | |
download | latinime-15b28432bab6b530d82ba01e0ef6a19cd1a4c698.tar.gz latinime-15b28432bab6b530d82ba01e0ef6a19cd1a4c698.tar.xz latinime-15b28432bab6b530d82ba01e0ef6a19cd1a4c698.zip |
Merge "Cleanup unused code" into jb-mr1-dev
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index a711ab997..f8a6fc884 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1619,11 +1619,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen boolean didAutoCorrect = false; // Handle separator if (mWordComposer.isComposingWord()) { - // In certain languages where single quote is a separator, it's better - // not to auto correct, but accept the typed word. For instance, - // in Italian dov' should not be expanded to dove' because the elision - // requires the last vowel to be removed. - if (mCurrentSettings.mCorrectionEnabled && primaryCode != Keyboard.CODE_SINGLE_QUOTE) { + if (mCurrentSettings.mCorrectionEnabled) { commitCurrentAutoCorrection(primaryCode); didAutoCorrect = true; } else { |