am 2fb40ef3: am 15b28432: Merge "Cleanup unused code" into jb-mr1-dev
* commit '2fb40ef30121da62386d64a2c9c5f5abffdcbc98': Cleanup unused codemain
commit
78b17bb021
|
@ -1592,11 +1592,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
boolean didAutoCorrect = false;
|
boolean didAutoCorrect = false;
|
||||||
// Handle separator
|
// Handle separator
|
||||||
if (mWordComposer.isComposingWord()) {
|
if (mWordComposer.isComposingWord()) {
|
||||||
// In certain languages where single quote is a separator, it's better
|
if (mCurrentSettings.mCorrectionEnabled) {
|
||||||
// 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) {
|
|
||||||
commitCurrentAutoCorrection(primaryCode);
|
commitCurrentAutoCorrection(primaryCode);
|
||||||
didAutoCorrect = true;
|
didAutoCorrect = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue