diff options
author | 2012-08-04 01:15:04 +0900 | |
---|---|---|
committer | 2012-08-04 01:15:04 +0900 | |
commit | 8ee4b35c7010c6e8f792e49a88dc4e908f7230fc (patch) | |
tree | 4e327ac668cc689452e72b00b3c214b72964a9ba /java/src | |
parent | 1644a3c7323ae33063774d32ce2e0f8698ff712d (diff) | |
download | latinime-8ee4b35c7010c6e8f792e49a88dc4e908f7230fc.tar.gz latinime-8ee4b35c7010c6e8f792e49a88dc4e908f7230fc.tar.xz latinime-8ee4b35c7010c6e8f792e49a88dc4e908f7230fc.zip |
Cleanup unused code
The Italian dictionary has been amended to contain words that
include apostrophes, and accordingly the apostrophe is now
excluded from word separators in Italian.
This code was only used for Italian, and in the general case
it does the wrong thing; it was only needed by limitations of
the old dictionary.
Bug: 6929108
Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
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 { |