Fix installation User Defined Plugins 55/87555/2
authorPiotr Ganicz <p.ganicz@samsung.com>
Thu, 8 Sep 2016 12:33:54 +0000 (14:33 +0200)
committerPiotr Ganicz <p.ganicz@samsung.com>
Thu, 8 Sep 2016 13:16:58 +0000 (15:16 +0200)
Change-Id: I0e71b358bf437a40980881c5fc23ce095bd5012b

src/wgt/step/security/step_check_extension_privileges.cc

index 15b305a..c28071a 100755 (executable)
@@ -115,7 +115,7 @@ bool StepCheckExtensionPrivileges::CheckPrivilegeLevel(
   std::string error_message;
   if (!common_installer::ValidatePrivilegeLevel(
          context_->privilege_level.get(),
-         false,
+         context_->pkg_type.get(),
          context_->manifest_data.get()->api_version,
          privileges,
          &error_message)) {