Change-Id: I3e6bcd8103d2d5bf9a8b2c79fa36242437b86bfc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
}
}
+ // In case of update, keep removable value
+ if (req_type == RequestType::Update ||
+ req_type == RequestType::Delta ||
+ req_type == RequestType::MountUpdate) {
+ bool is_removable = pkg_query.IsRemovablePackage();
+ context_->manifest_data.get()->removable =
+ strdup(is_removable ? "true" : "false");
+ }
+
const char* removable_val = context_->manifest_data.get()->removable;
if (!removable_val || (removable_val && strlen(removable_val) == 0)) {
if (removable_val)