From c1348d08716fd65a7fee556ec8fd86626db23d31 Mon Sep 17 00:00:00 2001 From: Inkyun Kil Date: Thu, 11 Apr 2024 16:27:11 +0900 Subject: [PATCH] Fix bug for pkgmgr_client_usr_register_pkg_update_info Change-Id: Ie63f65ffe7e7488ae8c94fb8fac6fceed95edcf3 Signed-off-by: Inkyun Kil --- client/src/api_stub.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/api_stub.cc b/client/src/api_stub.cc index a6760cf..ff31413 100644 --- a/client/src/api_stub.cc +++ b/client/src/api_stub.cc @@ -574,7 +574,7 @@ API int pkgmgr_client_usr_register_pkg_update_info(pkgmgr_client *pc, std::string req_key; int ret = proxy->RegisterPkgUpdateInfo(uid, update_info->pkgid, - update_info->pkgid, update_info->type, req_key); + update_info->version, update_info->type, req_key); if (ret != 0) { _E("Request fail"); return ret; -- 2.7.4