diff options
author | 2014-03-24 23:46:24 -0700 | |
---|---|---|
committer | 2014-03-24 23:46:24 -0700 | |
commit | ab0f3721fa4da8850bc5a0e83772a2ddf2874bd2 (patch) | |
tree | 86b052bdeab30de2ee27d5ead6b5e20086f3ace6 /java/src/com/android/inputmethod/research | |
parent | 0430f94e94f358ae4b28882fd0e743919cb2e40f (diff) | |
parent | adfb262797023c4ca57bb470e547f90c88f638ca (diff) | |
download | latinime-ab0f3721fa4da8850bc5a0e83772a2ddf2874bd2.tar.gz latinime-ab0f3721fa4da8850bc5a0e83772a2ddf2874bd2.tar.xz latinime-ab0f3721fa4da8850bc5a0e83772a2ddf2874bd2.zip |
am adfb2627: Remove logic related to dictionary loading from LatinIME.
* commit 'adfb262797023c4ca57bb470e547f90c88f638ca':
Remove logic related to dictionary loading from LatinIME.
Diffstat (limited to 'java/src/com/android/inputmethod/research')
-rw-r--r-- | java/src/com/android/inputmethod/research/MainLogBuffer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/research/MainLogBuffer.java b/java/src/com/android/inputmethod/research/MainLogBuffer.java index 9b1d8c535..ffdb43c15 100644 --- a/java/src/com/android/inputmethod/research/MainLogBuffer.java +++ b/java/src/com/android/inputmethod/research/MainLogBuffer.java @@ -155,8 +155,9 @@ public abstract class MainLogBuffer extends FixedLogBuffer { } // Reload the dictionary in case it has changed (e.g., because the user has changed // languages). - if ((mDictionaryFacilitator == null || !mDictionaryFacilitator.hasMainDictionary()) - && mDictionaryForTesting == null) { + if ((mDictionaryFacilitator == null + || !mDictionaryFacilitator.hasInitializedMainDictionary()) + && mDictionaryForTesting == null) { // Main dictionary is unavailable. Since we cannot check it, we cannot tell if a // word is out-of-vocabulary or not. Therefore, we must judge the entire buffer // contents to potentially pose a privacy risk. |