Fix blacklist

This commit is contained in:
LoveSy 2020-12-03 17:48:22 +08:00 committed by solohsu
parent 293523ddda
commit 8432c24fd8
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ namespace edxp {
LOGD("using whitelist, %s -> %s", package_name.c_str(), BoolToString(res));
return res;
} else {
auto res = black_list_.count(package_name);
auto res = !black_list_.count(package_name);
LOGD("using blacklist, %s -> %s", package_name.c_str(), BoolToString(res));
return res;
}