aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/MainLogBuffer.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-03-24 23:46:24 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-24 23:46:24 -0700
commitab0f3721fa4da8850bc5a0e83772a2ddf2874bd2 (patch)
tree86b052bdeab30de2ee27d5ead6b5e20086f3ace6 /java/src/com/android/inputmethod/research/MainLogBuffer.java
parent0430f94e94f358ae4b28882fd0e743919cb2e40f (diff)
parentadfb262797023c4ca57bb470e547f90c88f638ca (diff)
downloadlatinime-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/MainLogBuffer.java')
-rw-r--r--java/src/com/android/inputmethod/research/MainLogBuffer.java5
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.