am 5654a1f2: Merge "Fix a debug functionality for the personalization prediction"

* commit '5654a1f21e3858969d56d81ed82768bd3e99bcb5':
  Fix a debug functionality for the personalization prediction
main
Satoshi Kataoka 2013-08-14 03:46:02 -07:00 committed by Android Git Automerger
commit 91d2a3a40c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}