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:
b3a7bda
)
Fix the behavior that sends start signal twice
11/241411/1
author
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 20 Aug 2020 02:38:26 +0000
(11:38 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Thu, 20 Aug 2020 02:38:26 +0000
(11:38 +0900)
Change-Id: I440df908b97bfe5549dc780da8a4b6d81121b88e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/installer/app_installer.cc
patch
|
blob
|
history
diff --git
a/src/common/installer/app_installer.cc
b/src/common/installer/app_installer.cc
index
cf6e88f
..
43f6b3c
100644
(file)
--- a/
src/common/installer/app_installer.cc
+++ b/
src/common/installer/app_installer.cc
@@
-837,8
+837,10
@@
bool AppInstaller::SendStartIfNotSent(bool is_skippable) {
if (!pi_)
return false;
- if ((pi_->state() != PkgmgrSignal::State::NOT_SENT ||
- context_->pkgid.get().empty()) && is_skippable)
+ if (pi_->state() != PkgmgrSignal::State::NOT_SENT)
+ return true;
+
+ if (context_->pkgid.get().empty() && is_skippable)
return true;
// set request type before sending start signal