Remove init process of fast launch 31/302731/1
authorChanggyu Choi <changyu.choi@samsung.com>
Wed, 13 Dec 2023 01:02:00 +0000 (10:02 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Wed, 13 Dec 2023 01:02:00 +0000 (10:02 +0900)
The logic to access the database at the beginning of booting is disadvantageous for performance.
This patch improves this by omitting the check for whether the app is installed if it is a fast launch.

Change-Id: I9827e43cda610d633258366ad420a7abd9e3d4d7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
tool/app_launcher/app_launcher.c

index 7001f1f..d2da2f3 100644 (file)
@@ -753,7 +753,7 @@ static struct command cmd_table[] = {
        },
        [CMD_FAST_START] = {
                .name = "fast-start",
-               .init = __cmd_common_init,
+               .init = NULL,
                .run = __cmd_fast_start_run,
                .finish = __cmd_fast_start_finish
        },