aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-09-16 11:31:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-16 11:31:27 +0000
commit618907e1f15c98a2cd46459a097663aeb145467d (patch)
tree861713f6aec92261da7eeaac21cc46289d12dbd7 /java/src/com/android/inputmethod/latin/Suggest.java
parente143f5b1fe86043027d34fca77b49ad677a1e5e0 (diff)
parent8cd53266229895a3e0c6618e3765d57fc5d0b392 (diff)
downloadlatinime-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.java2
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