From: ilho kim Date: Mon, 30 Oct 2023 07:18:51 +0000 (+0900) Subject: Call api update after installation is finished X-Git-Tag: accepted/tizen/unified/20231101.174507~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fappfw%2Fapp-installers.git;a=commitdiff_plain;h=b438b0ddf8937ce7c22ad72fdce7009f06c33555 Call api update after installation is finished Related: [pkgmgr-info] https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/300559/ Change-Id: I0ffa194936f25473a124afaf332b50a690daef8c Signed-off-by: ilho kim --- diff --git a/src/common/installer/app_installer.cc b/src/common/installer/app_installer.cc index 56ef9e4..94a1299 100644 --- a/src/common/installer/app_installer.cc +++ b/src/common/installer/app_installer.cc @@ -876,7 +876,7 @@ void AppInstaller::SendProgress(int progress) { } void AppInstaller::SendFinished(Step::Status process_status) { - pkgmgr_parser_clear_cache_memory_db(); + pkgmgr_parser_update_pending_cache(context_->pkgid.get().c_str()); if (!SendStartIfNotSent(false)) return;