projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add package paremeter to application filter
[platform/core/appfw/pkgmgr-info.git]
/
src
/
server
/
filter_checker
/
app_filter_checker
/
operation_app_filter_checker.cc
diff --git
a/src/server/filter_checker/app_filter_checker/operation_app_filter_checker.cc
b/src/server/filter_checker/app_filter_checker/operation_app_filter_checker.cc
index
289188a
..
8ccdaf5
100644
(file)
--- a/
src/server/filter_checker/app_filter_checker/operation_app_filter_checker.cc
+++ b/
src/server/filter_checker/app_filter_checker/operation_app_filter_checker.cc
@@
-22,8
+22,8
@@
namespace pkgmgr_server {
namespace database {
bool OperationAppFilterChecker::CheckFilter(pkgmgrinfo_node_x* node,
namespace database {
bool OperationAppFilterChecker::CheckFilter(pkgmgrinfo_node_x* node,
-
application_x*
info) {
- for (auto* it = info->appcontrol; it != nullptr; it = g_list_next(it)) {
+
application_x* app_info, package_x* pkg_
info) {
+ for (auto* it =
app_
info->appcontrol; it != nullptr; it = g_list_next(it)) {
char* value = reinterpret_cast<appcontrol_x*>(it->data)->operation;
if (value != nullptr && strcmp(value, node->value) == 0)
return true;
char* value = reinterpret_cast<appcontrol_x*>(it->data)->operation;
if (value != nullptr && strcmp(value, node->value) == 0)
return true;