Add package paremeter to application filter
[platform/core/appfw/pkgmgr-info.git] / src / server / filter_checker / app_filter_checker / mime_app_filter_checker.cc
index d296ab0..2dd8237 100644 (file)
@@ -22,10 +22,10 @@ namespace pkgmgr_server {
 namespace database {
 
 bool MimeAppFilterChecker::CheckFilter(pkgmgrinfo_node_x* node,
-                                            application_x* info) {
+    application_x* app_info, package_x* pkg_info) {
   if (node->value == nullptr)
     return false;
-  for (auto* it = info->appcontrol; it != nullptr; it = g_list_next(it)) {
+  for (auto* it = app_info->appcontrol; it != nullptr; it = g_list_next(it)) {
     char* value = reinterpret_cast<appcontrol_x*>(it->data)->mime;
     if (value != nullptr && strcmp(value, node->value) == 0)
       return true;