projects
/
platform
/
core
/
appfw
/
amd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
383174e
)
Check starting flag of app status
39/268639/2
author
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 28 Dec 2021 09:51:23 +0000
(18:51 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 28 Dec 2021 10:00:03 +0000
(19:00 +0900)
If the starting flag is already 'true', AMD doesn't set the flag and
send the app status event signal to listeners.
Change-Id: I2b4d97d1e2bbf8d08cc67839a55a82b6456c5891
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_app_status.c
patch
|
blob
|
history
diff --git
a/src/lib/amd_app_status.c
b/src/lib/amd_app_status.c
index
75cbf7b
..
b224dbf
100644
(file)
--- a/
src/lib/amd_app_status.c
+++ b/
src/lib/amd_app_status.c
@@
-2313,7
+2313,7
@@
static int __dispatch_app_notify_start(request_h req)
app_status_h app_status;
app_status = _app_status_find_v2(pid);
- if (app_status) {
+ if (app_status
&& !app_status->starting
) {
app_status->socket_exists = true;
app_status->starting = true;
app_status->real_pid = pid;