From: ilho kim Date: Thu, 9 Nov 2023 07:41:54 +0000 (+0900) Subject: Reflect pending cache when process operation end X-Git-Tag: accepted/tizen/8.0/unified/20231212.161338~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fappfw%2Fapp-installers.git;a=commitdiff_plain;h=c2ff506dac75c43b4c556bc792e90efe56384080 Reflect pending cache when process operation end During clean operation, the parser-plugin can execute other process to get updated package information in other process the pending package information should be reflected Change-Id: I9a13875f1ca1d0ab3401d2ba06c25a8b9cb0be94 Signed-off-by: ilho kim --- diff --git a/src/common/installer/app_installer.cc b/src/common/installer/app_installer.cc index 94a1299..bbed096 100644 --- a/src/common/installer/app_installer.cc +++ b/src/common/installer/app_installer.cc @@ -259,6 +259,9 @@ AppInstaller::Result AppInstaller::Process() { SendProgress(current_step * kProgressRange / total_steps); } + if (!context_->pkgid.get().empty()) + pkgmgr_parser_update_pending_cache(context_->pkgid.get().c_str()); + return result_; }