Replace StepPrivilegeCompatibility with StepRecoverPrivilegeCompatibility 19/167419/2
authorSangyoon Jang <jeremy.jang@samsung.com>
Wed, 17 Jan 2018 12:14:51 +0000 (21:14 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 17 Jan 2018 12:20:35 +0000 (12:20 +0000)
Requires:
 - https://review.tizen.org/gerrit/167411

Change-Id: I1ba4b0461d42657516584f4c09a68fa7dedae705
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/wgt/wgt_installer.cc

index 29b9bfd..e80e3b3 100755 (executable)
@@ -75,6 +75,7 @@
 #include <common/step/security/step_check_signature.h>
 #include <common/step/security/step_privacy_privilege.h>
 #include <common/step/security/step_privilege_compatibility.h>
+#include <common/step/security/step_recover_privilege_compatibility.h>
 #include <common/step/security/step_recover_security.h>
 #include <common/step/security/step_register_security.h>
 #include <common/step/security/step_revoke_security.h>
@@ -429,7 +430,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<ci::filesystem::StepRecoverFiles>();
       AddStep<ci::mount::StepMountRecover>();
       AddStep<wgt::security::StepWgtRecoverSignature>();
-      AddStep<ci::security::StepPrivilegeCompatibility>(
+      AddStep<ci::security::StepRecoverPrivilegeCompatibility>(
           ci::security::StepPrivilegeCompatibility::InternalPrivType::WGT);
       AddStep<ci::filesystem::StepRecoverChangeOwner>();
       AddStep<ci::security::StepRecoverSecurity>();