aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-09-11 18:51:31 +0900
committerJean Chalard <jchalard@google.com>2014-09-16 19:00:50 +0900
commit8cd53266229895a3e0c6618e3765d57fc5d0b392 (patch)
tree5761e2463689615e82402e0308e5f7b5410d5931 /java/src/com/android/inputmethod/latin/Suggest.java
parent97b465044fb6e0dfece02e7bd6c639ded295a547 (diff)
downloadlatinime-8cd53266229895a3e0c6618e3765d57fc5d0b392.tar.gz
latinime-8cd53266229895a3e0c6618e3765d57fc5d0b392.tar.xz
latinime-8cd53266229895a3e0c6618e3765d57fc5d0b392.zip
[ML7] Have multiple DictionaryGroup instances in facilitator
This is the central change of multilingual input. Bug: 11230254 Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
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