We don't need to update app privileges in case of Move operation.
It may drop some internal privileges because we skipped
StepPrivilegeCompatibility and StepCheckSignature steps.
Change-Id: I067df74664a83736700cbb56ca78eb5d0b4232ee
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Step::Status StepRegisterSecurity::process() {
std::string error_message;
- if (!RegisterSecurityContextForManifest(
+ if (context_->request_type.get() != RequestType::Move &&
+ !RegisterSecurityContextForManifest(
context_->pkgid.get(), context_->pkg_path.get(), context_->uid.get(),
&context_->certificate_info.get(), context_->manifest_data.get(),
context_->cross_app_rules.get(), &error_message)) {