diff options
author | 2014-09-16 11:31:25 +0000 | |
---|---|---|
committer | 2014-09-16 11:31:27 +0000 | |
commit | 618907e1f15c98a2cd46459a097663aeb145467d (patch) | |
tree | 861713f6aec92261da7eeaac21cc46289d12dbd7 /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | e143f5b1fe86043027d34fca77b49ad677a1e5e0 (diff) | |
parent | 8cd53266229895a3e0c6618e3765d57fc5d0b392 (diff) | |
download | latinime-618907e1f15c98a2cd46459a097663aeb145467d.tar.gz latinime-618907e1f15c98a2cd46459a097663aeb145467d.tar.xz latinime-618907e1f15c98a2cd46459a097663aeb145467d.zip |
Merge "[ML7] Have multiple DictionaryGroup instances in facilitator"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Suggest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java index 9e4aa40a2..9bf017578 100644 --- a/java/src/com/android/inputmethod/latin/Suggest.java +++ b/java/src/com/android/inputmethod/latin/Suggest.java @@ -157,7 +157,7 @@ public final class Suggest { if (!isCorrectionEnabled || !allowsToBeAutoCorrected || resultsArePredictions || suggestionResults.isEmpty() || wordComposer.hasDigits() || wordComposer.isMostlyCaps() || wordComposer.isResumed() - || !mDictionaryFacilitator.hasInitializedMainDictionary() + || !mDictionaryFacilitator.hasAtLeastOneInitializedMainDictionary() || suggestionResults.first().isKindOf(SuggestedWordInfo.KIND_SHORTCUT)) { // If we don't have a main dictionary, we never want to auto-correct. The reason for // this is, the user may have a contact whose name happens to match a valid word in |