From 6f8c9c056bb10c0d1b84324d3547fe9312991c0a Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 3 Jan 2024 07:12:09 +0900 Subject: [PATCH] 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 --- tool/app_launcher/app_launcher.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tool/app_launcher/app_launcher.c b/tool/app_launcher/app_launcher.c index 57e3a18..44b411a 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); -- 2.7.4