diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2024-01-03 07:12:09 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2024-01-03 07:12:09 +0900 |
commit | 6f8c9c056bb10c0d1b84324d3547fe9312991c0a (patch) | |
tree | 4729059866cd7c4a9f416856655dd5082e989520 | |
parent | 9652874353e43e33aa7677300efe01e4f6163e7d (diff) | |
download | aul-1-6f8c9c056bb10c0d1b84324d3547fe9312991c0a.tar.gz aul-1-6f8c9c056bb10c0d1b84324d3547fe9312991c0a.tar.bz2 aul-1-6f8c9c056bb10c0d1b84324d3547fe9312991c0a.zip |
Modify -f option of app_launcher tool
If amd is ready, the tool removes the AUL_K_FAST_LAUNCH key from
the bundle object.
Change-Id: I13f5ff1b9e40b4e6fd62e15e5a17e27ab1de7747
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | tool/app_launcher/app_launcher.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/app_launcher/app_launcher.c b/tool/app_launcher/app_launcher.c index 57e3a18a..44b411a1 100644 --- a/tool/app_launcher/app_launcher.c +++ b/tool/app_launcher/app_launcher.c @@ -627,8 +627,10 @@ static int __cmd_fast_start_run(struct launch_arg *arg) { int fd; - if (!access(PATH_AMD_READY, F_OK)) + if (!access(PATH_AMD_READY, F_OK)) { + bundle_del(arg->b, AUL_K_FAST_LAUNCH); return __cmd_start_run(arg); + } fd = aul_sock_create_launchpad_client_without_timeout( LAUNCHPAD_PROCESS_POOL_SOCK, arg->uid); |