Call api update after installation is finished 26/300626/1
authorilho kim <ilho159.kim@samsung.com>
Mon, 30 Oct 2023 07:18:51 +0000 (16:18 +0900)
committerilho kim <ilho159.kim@samsung.com>
Mon, 30 Oct 2023 07:24:44 +0000 (16:24 +0900)
Related:
 [pkgmgr-info] https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/300559/

Change-Id: I0ffa194936f25473a124afaf332b50a690daef8c
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
src/common/installer/app_installer.cc

index 56ef9e4..94a1299 100644 (file)
@@ -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;