Merge "Fix a debug functionality for the personalization prediction"

This commit is contained in:
Satoshi Kataoka 2013-08-14 10:43:31 +00:00 committed by Android (Google) Code Review
commit 5654a1f21e

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