Fix a debug functionality for the personalization prediction

Bug: 9429906

Change-Id: I10d39e1f8758dcb64c9c0111d516e3abfe81b04e
main
Satoshi Kataoka 2013-08-14 19:36:02 +09:00
parent 92038bcacd
commit d09ad2e368
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;
}