Merge "Fix a debug functionality for the personalization prediction"
commit
5654a1f21e
|
@ -107,7 +107,7 @@ public final class Suggest {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addOrReplaceDictionaryInternal(final String key, final Dictionary dict) {
|
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.");
|
Log.w(TAG, "Ignore add " + key + " dictionary for debug.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue