From: Changgyu Choi Date: Mon, 20 Nov 2023 01:59:53 +0000 (+0900) Subject: Revert "Send a startup signal in the constructor" X-Git-Tag: accepted/tizen/8.0/unified/20231121.180436~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ed062cd8ba858bffb3716678de188889f4c683d;p=platform%2Fcore%2Fappfw%2Faul-1.git Revert "Send a startup signal in the constructor" This reverts commit 1c1714c08ecb9eade1058bc4cbff41dcdb74e2ec. Change-Id: I7217c6355bc38f0c59d93fe112a39e2c764cc0f5 Signed-off-by: Changgyu Choi --- diff --git a/include/aul.h b/include/aul.h index f537c87..41b468f 100644 --- a/include/aul.h +++ b/include/aul.h @@ -3047,11 +3047,6 @@ int aul_notify_exit(void); int aul_notify_start(void); /** - * This API is only for Appfw internally. - */ -int aul_send_startup_signal(void); - -/** * This API is only for App Framework internally. */ const char *aul_app_status_convert_to_string(int status); diff --git a/src/aul_launch.c b/src/aul_launch.c index 9df58c3..e09b9d2 100644 --- a/src/aul_launch.c +++ b/src/aul_launch.c @@ -94,8 +94,6 @@ static launch_context __context; AUL_CTOR static void __aul_constructor(void) { g_rec_mutex_init(&__context.init_mutex); - if (!getenv("AUL_FAST_LAUNCH") && getenv("AUL_APPID")) - aul_send_startup_signal(); } AUL_DTOR static void __aul_destructor(void) diff --git a/src/status.cc b/src/status.cc index 98ee7bf..6e36738 100644 --- a/src/status.cc +++ b/src/status.cc @@ -345,11 +345,6 @@ extern "C" API int aul_notify_start(void) { .SendCmdOnly(AUL_SOCK_NOREPLY); } -extern "C" API int aul_send_startup_signal(void) { - return AppRequest(APP_STARTUP_SIGNAL, getuid()) - .SendCmdOnly(AUL_SOCK_NOREPLY); -} - extern "C" API const char* aul_app_status_convert_to_string(int status) { switch (status) { case STATUS_LAUNCHING: