From: Hwankyu Jhun Date: Tue, 2 Jan 2024 22:12:09 +0000 (+0900) Subject: Modify -f option of app_launcher tool X-Git-Tag: accepted/tizen/8.0/unified/20240104.165409~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f8c9c056bb10c0d1b84324d3547fe9312991c0a;p=platform%2Fcore%2Fappfw%2Faul-1.git 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 --- 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);