projects
/
platform
/
core
/
appfw
/
launchpad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b42e9
)
Validate a custom loader process
25/213925/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 16 Sep 2019 23:11:38 +0000
(08:11 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 16 Sep 2019 23:11:38 +0000
(08:11 +0900)
Before sending a launch request, the launchpad checks whether the custom
loader is prepared or not. If it's not prepared, the application will be
launched by exec().
Change-Id: Ibcd04f8506c41d493f1afd35bbe5c90337eb6443
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad.c
patch
|
blob
|
history
diff --git
a/src/launchpad.c
b/src/launchpad.c
index
6a676d9
..
1e11e19
100755
(executable)
--- a/
src/launchpad.c
+++ b/
src/launchpad.c
@@
-1836,6
+1836,8
@@
static gboolean __handle_launch_event(gpointer data)
} else {
type = LAUNCHPAD_TYPE_DYNAMIC;
cpc = __find_slot(type, loader_id);
+ if (cpc && !cpc->prepared)
+ cpc = NULL;
}
}