diff options
author | 2014-09-16 11:39:19 +0000 | |
---|---|---|
committer | 2014-09-16 11:39:19 +0000 | |
commit | 720e1c66c5d761cbb69b09d4560d0009d2b02c3c (patch) | |
tree | 9de64220035e6399a3be990d476ab8376021a0da /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | 5ea456ee57107f7e3f24f6f5535a18d4b17997ff (diff) | |
parent | 618907e1f15c98a2cd46459a097663aeb145467d (diff) | |
download | latinime-720e1c66c5d761cbb69b09d4560d0009d2b02c3c.tar.gz latinime-720e1c66c5d761cbb69b09d4560d0009d2b02c3c.tar.xz latinime-720e1c66c5d761cbb69b09d4560d0009d2b02c3c.zip |
am 618907e1: Merge "[ML7] Have multiple DictionaryGroup instances in facilitator"
* commit '618907e1f15c98a2cd46459a097663aeb145467d':
[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 |