From: Hyotaek Shim Date: Wed, 7 Aug 2019 04:53:27 +0000 (+0900) Subject: Change dbus interface of BootingDone X-Git-Tag: submit/tizen/20190809.091307^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F211603%2F1;p=sdk%2Ftarget%2Fsdbd.git Change dbus interface of BootingDone Change-Id: I190886647020ea12fe11a337c21d0ba8fda56b1e Signed-off-by: Hyotaek Shim --- diff --git a/src/sdb.c b/src/sdb.c index 42a3bec..b35ebae 100644 --- a/src/sdb.c +++ b/src/sdb.c @@ -1289,10 +1289,9 @@ int should_drop_privileges() { #include -#define DEVICED_BUS "org.tizen.system.deviced" -#define DEVICED_CORE_PATH "/Org/Tizen/System/DeviceD/Core" +#define BOOTING_DONE_PATH "/org/tizen/system" #define BOOTING_DONE_SIGNAL "BootingDone" -#define DEVICED_CORE_INTERFACE "org.tizen.system.deviced.core" +#define BOOTING_DONE_INTERFACE "org.tizen.system.Booting" #define SDBD_BOOT_INFO_FILE "/tmp/sdbd_boot_info" static GMainLoop *g_mainloop; @@ -1361,8 +1360,8 @@ static void *bootdone_cb(void *args) } id = g_dbus_connection_signal_subscribe(connection, - DEVICED_BUS, DEVICED_CORE_INTERFACE, BOOTING_DONE_SIGNAL, - DEVICED_CORE_PATH, NULL, G_DBUS_SIGNAL_FLAGS_NONE, + NULL, BOOTING_DONE_INTERFACE, BOOTING_DONE_SIGNAL, + BOOTING_DONE_PATH, NULL, G_DBUS_SIGNAL_FLAGS_NONE, booting_done_signal_subscriber, NULL, NULL); if (id == 0) { E("failed to subscribe to the booting done signal\n");