Fix wrong merged code.
Change-Id: I544c52b5f802823e75aaf9ca40056f071e90a908
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
return Status::ERROR;
}
- if (context_->pkg_query.IsPreloadPackage())
- SetExtAttrForPreloadPackage(pkg_query.IsUpdatedPackage(),
- pkg_query.IsRemovablePackage());
- if (context_->pkg_query->IsUpdatedPackage())
- SetExtraAttributes(true);
+ if (context_->pkg_query->IsPreloadPackage())
+ SetExtAttrForPreloadPackage(context_->pkg_query->IsUpdatedPackage(),
+ context_->pkg_query->IsRemovablePackage());
UnregisterApplication();
if (!RegisterApplication()) {
LOG(ERROR) << "Unsuccessful app registration";