Replace StepPrivilegeCompatibility with StepRecoverPrivilegeCompatibility 18/167418/3
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:43 +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 96fa5abad8777e833b59bfd985da81cd659293ec..8c6961a2c7aac916969dff4a4663f47df097dc7e 100755 (executable)
@@ -76,6 +76,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>
@@ -352,7 +353,7 @@ void WgtInstaller::RecoverySteps() {
   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>();