diff options
author | 2015-03-11 16:11:50 -0700 | |
---|---|---|
committer | 2015-03-11 17:29:12 -0700 | |
commit | 107fb4c476779df16be23e245547253978c197ac (patch) | |
tree | eda7c85d72b7fa74efd8a489c1319958a9309e19 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
parent | 9a289da4e6ea40417422a540e821069d5d6e4a82 (diff) | |
download | latinime-107fb4c476779df16be23e245547253978c197ac.tar.gz latinime-107fb4c476779df16be23e245547253978c197ac.tar.xz latinime-107fb4c476779df16be23e245547253978c197ac.zip |
Remove ALS from LatinIME.
This fixes unit tests and brings us closer to a green build.
Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 934da7ac7..de812dae5 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -279,7 +279,6 @@ public final class InputLogic { currentKeyboardScriptId, handler); } - mDictionaryFacilitator.switchMostProbableLanguage(suggestionInfo.mSourceDict.mLocale); final Event event = Event.createSuggestionPickedEvent(suggestionInfo); final InputTransaction inputTransaction = new InputTransaction(settingsValues, event, SystemClock.uptimeMillis(), mSpaceState, keyboardShiftState); @@ -2084,10 +2083,6 @@ public final class InputLogic { final boolean isBatchMode = mWordComposer.isBatchMode(); commitChosenWord(settingsValues, stringToCommit, LastComposedWord.COMMIT_TYPE_DECIDED_WORD, separator); - if (null != autoCorrectionOrNull) { - mDictionaryFacilitator.switchMostProbableLanguage( - autoCorrectionOrNull.mSourceDict.mLocale); - } if (!typedWord.equals(stringToCommit)) { // This will make the correction flash for a short while as a visual clue // to the user that auto-correction happened. It has no other effect; in particular |