mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix a debug functionality for the personalization prediction"
This commit is contained in:
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…
x
Reference in New Issue
Block a user