From c2ff506dac75c43b4c556bc792e90efe56384080 Mon Sep 17 00:00:00 2001 From: ilho kim Date: Thu, 9 Nov 2023 16:41:54 +0900 Subject: [PATCH] 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 --- src/common/installer/app_installer.cc | 3 +++ 1 file changed, 3 insertions(+) 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_; } -- 2.7.4