Update status synchronously 05/254205/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 25 Feb 2021 03:02:19 +0000 (12:02 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 25 Feb 2021 03:14:29 +0000 (12:14 +0900)
To update status that is STATUS_NORESTART, the core uses
aul_status_update_v2() instead of aul_status_update().

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/254204/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/appcore-agent/+/254205/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/254206/

Change-Id: Icd55325faa3d73930f0be5dc90c2826add6556c7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/service_app_main.c

index 4343dce..177a797 100644 (file)
@@ -427,7 +427,7 @@ EXPORT_API int service_app_remove_event_handler(app_event_handler_h event_handle
 
 EXPORT_API void service_app_exit_without_restart(void)
 {
-       aul_status_update(STATUS_NORESTART);
+       aul_status_update_v2(STATUS_NORESTART);
        appcore_base_exit();
 }