projects
/
platform
/
core
/
appfw
/
app-installers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cd3ecd
)
Reset data of PkgQuery at beginning of process
59/218059/4
author
Sangyoon Jang
<jeremy.jang@samsung.com>
Tue, 19 Nov 2019 06:36:10 +0000
(15:36 +0900)
committer
Sangyoon Jang
<jeremy.jang@samsung.com>
Wed, 20 Nov 2019 02:09:55 +0000
(
02:09
+0000)
The installer process can run multiple instance of same pkgid, so
PkgQuery should be reset.
Change-Id: Ibc2f6369e70831d10439cacbdaccbb9c94601906
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/common/app_query_interface.cc
patch
|
blob
|
history
diff --git
a/src/common/app_query_interface.cc
b/src/common/app_query_interface.cc
index 1bd9a453b2536788ca56c10b44cc1ac62f6f9308..7404bee081a50188c793fda03263b66e298cc426 100644
(file)
--- a/
src/common/app_query_interface.cc
+++ b/
src/common/app_query_interface.cc
@@
-20,7
+20,7
@@
bool AppQueryInterface::IsPkgInstalled(const std::string& arg,
pkg_id = GetPkgIdFromPath(arg);
if (pkg_id.empty())
pkg_id = arg;
- PkgQueryInterface pkg_query(pkg_id, uid);
+ PkgQueryInterface pkg_query(pkg_id, uid
, true
);
return pkg_query.IsPackageInstalled(GetRequestMode(uid));
}