aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-08-14 03:46:02 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-14 03:46:02 -0700
commit91d2a3a40cfc8bd1aee4aeb188df05fce926cac9 (patch)
tree9b0ff1cf769f22fb6a4bddd358529814be274d9a /java/src
parentdf6ca9c9fe34ff4969d49680f7479ad6d09b07fe (diff)
parent5654a1f21e3858969d56d81ed82768bd3e99bcb5 (diff)
downloadlatinime-91d2a3a40cfc8bd1aee4aeb188df05fce926cac9.tar.gz
latinime-91d2a3a40cfc8bd1aee4aeb188df05fce926cac9.tar.xz
latinime-91d2a3a40cfc8bd1aee4aeb188df05fce926cac9.zip
am 5654a1f2: Merge "Fix a debug functionality for the personalization prediction"
* commit '5654a1f21e3858969d56d81ed82768bd3e99bcb5': Fix a debug functionality for the personalization prediction
Diffstat (limited to 'java/src')
-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 c2fdcb552..55b70c6f8 100644
--- a/java/src/com/android/inputmethod/latin/Suggest.java
+++ b/java/src/com/android/inputmethod/latin/Suggest.java
@@ -107,7 +107,7 @@ public final class Suggest {
}
private void addOrReplaceDictionaryInternal(final String key, final Dictionary dict) {
- if (mOnlyDictionarySetForDebug != null && mOnlyDictionarySetForDebug.contains(key)) {
+ if (mOnlyDictionarySetForDebug != null && !mOnlyDictionarySetForDebug.contains(key)) {
Log.w(TAG, "Ignore add " + key + " dictionary for debug.");
return;
}