Fix blacklist
This commit is contained in:
parent
293523ddda
commit
8432c24fd8
|
|
@ -144,7 +144,7 @@ namespace edxp {
|
||||||
LOGD("using whitelist, %s -> %s", package_name.c_str(), BoolToString(res));
|
LOGD("using whitelist, %s -> %s", package_name.c_str(), BoolToString(res));
|
||||||
return res;
|
return res;
|
||||||
} else {
|
} 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));
|
LOGD("using blacklist, %s -> %s", package_name.c_str(), BoolToString(res));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue