Add sd_notify code before the exit 26/230126/1
authorYunmi Ha <yunmi.ha@samsung.com>
Wed, 8 Apr 2020 03:34:54 +0000 (12:34 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 8 Apr 2020 06:07:41 +0000 (06:07 +0000)
Change-Id: I990d0bf0194d1a9c6b04c9b751d8b85e52295a3c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
(cherry picked from commit 6853c878260a4b60c0a47e66457431052c8948f6)

src/core/main.c

index be0d5db..ff068c8 100644 (file)
@@ -64,6 +64,7 @@ int main(int argc, char **argv)
        ret = system_info_get_platform_bool(VIBRATION_FEATURE, &haptic_avail);
        if ((ret < 0) || !haptic_avail) {
                _I("Vibration feature is not supported.");
+               sd_notify(0, "READY=1");
                return 0;
        }