Change dbus interface of BootingDone 03/211603/1 accepted/tizen/unified/20190811.223101 submit/tizen/20190809.091307
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 7 Aug 2019 04:53:27 +0000 (13:53 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 7 Aug 2019 04:53:37 +0000 (13:53 +0900)
Change-Id: I190886647020ea12fe11a337c21d0ba8fda56b1e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/sdb.c

index 42a3bec..b35ebae 100644 (file)
--- a/src/sdb.c
+++ b/src/sdb.c
@@ -1289,10 +1289,9 @@ int should_drop_privileges() {
 
 #include <gio/gio.h>
 
-#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");