From: Jihoon Kim Date: Thu, 10 Dec 2020 06:58:34 +0000 (+0900) Subject: Add option not to quit in autofill service X-Git-Tag: accepted/tizen/6.0/unified/20201210.223916~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17ec62c626e663defeda254c4bce7f22ed487a8b;p=platform%2Fcore%2Fuifw%2Fautofill.git Add option not to quit in autofill service Change-Id: I5ce7cc8e855009f88a5e5be4e585d57020613aae Signed-off-by: Jihoon Kim --- diff --git a/service_lib/autofill_service.c b/service_lib/autofill_service.c index ff1b7cd..22b5116 100644 --- a/service_lib/autofill_service.c +++ b/service_lib/autofill_service.c @@ -300,6 +300,15 @@ static void __terminate_received_cb(rpc_port_stub_AutofillSvcPort_context_h cont if (g_autofill_service_terminate_received_cb) g_autofill_service_terminate_received_cb(g_autofill_service_terminate_received_data); + char *noquit = getenv("AUTOFILL_SERVICE_NO_AUTOEXIT"); + if (noquit) { + if (atoi(noquit) != 0) { + LOGI("No quit main loop"); + return; + } + } + + LOGI("Quit main loop"); ecore_main_loop_quit(); }