- IsPackageInstalled is not working properly on StepCheckForceClean.
So, deliver parameter when calling to fix it.
Change-Id: I6c646cdb8e5bcbf769d9f01001ba3610bdcaeef8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
// if manifeset not found but pkg exist in db for target uid, do clean
PkgQueryInterface pkg_query(context_->pkgid.get(), context_->uid.get());
if (!bf::exists(xml_path) &&
- pkg_query.IsPackageInstalled()) {
+ pkg_query.IsPackageInstalled(context_->request_mode.get())) {
context_->force_clean_from_db.set(true);
manifest_x* manifest =
static_cast<manifest_x*>(calloc(1, sizeof(manifest_x)));