diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2021-10-29 16:56:39 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2021-11-02 10:28:31 +0900 |
commit | 40a09d54f5dc014a3fb276bfbbaafd61b5f0ec26 (patch) | |
tree | 196a085423a1da0b8d4ca86e5e6caba628c21ddc | |
parent | a57309451bfb0007976aae9684cdc98eab4025b5 (diff) | |
download | launchpad-40a09d54f5dc014a3fb276bfbbaafd61b5f0ec26.tar.gz launchpad-40a09d54f5dc014a3fb276bfbbaafd61b5f0ec26.tar.bz2 launchpad-40a09d54f5dc014a3fb276bfbbaafd61b5f0ec26.zip |
Adjust sending startup signal
After creating the app socket, the startup signal will be sent.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/265335/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/265818/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/265825/
Change-Id: Ib06bdf45b51b44bc9225b40333bb0b30968951b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/launchpad-process-pool/src/launchpad.c | 2 | ||||
-rw-r--r-- | src/lib/launchpad/src/launchpad_lib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/launchpad-process-pool/src/launchpad.c b/src/launchpad-process-pool/src/launchpad.c index 3d57531..516079c 100644 --- a/src/launchpad-process-pool/src/launchpad.c +++ b/src/launchpad-process-pool/src/launchpad.c @@ -1269,7 +1269,6 @@ static int __prepare_exec(const char *appid, const char *app_path, if (ret != SECURITY_MANAGER_SUCCESS) return PAD_ERR_REJECTED; - _send_cmd_to_amd(APP_STARTUP_SIGNAL); if (bundle_get_type(kb, AUL_K_SDK) == BUNDLE_TYPE_NONE) _setup_stdio(basename(app_path)); @@ -1309,6 +1308,7 @@ static int __prepare_exec(const char *appid, const char *app_path, return PAD_ERR_FAILED; } + _send_cmd_to_amd(APP_STARTUP_SIGNAL); return 0; } diff --git a/src/lib/launchpad/src/launchpad_lib.c b/src/lib/launchpad/src/launchpad_lib.c index c4e7a95..e14894f 100644 --- a/src/lib/launchpad/src/launchpad_lib.c +++ b/src/lib/launchpad/src/launchpad_lib.c @@ -102,7 +102,6 @@ static int __prepare_exec(const char *appid, const char *app_path, return -1; } - _send_cmd_to_amd(APP_STARTUP_SIGNAL); _setup_stdio(basename(app_path)); ret = buxton_open(&bxt_cli, NULL, NULL); @@ -159,6 +158,7 @@ static int __prepare_exec(const char *appid, const char *app_path, if (ret < 0) return -1; + _send_cmd_to_amd(APP_STARTUP_SIGNAL); return 0; } |