Use libsyscommon for gdbus implementation 24/265524/6 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified_riscv tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.062457 accepted/tizen/7.0/unified/hotfix/20221116.105652 accepted/tizen/8.0/unified/20231005.093725 accepted/tizen/unified/20211109.042825 accepted/tizen/unified/riscv/20230724.093735 submit/tizen/20211108.062421 tizen_7.0_m2_release tizen_8.0_m2_release
authorUnsung Lee <unsung.lee@samsung.com>
Wed, 13 Oct 2021 10:19:01 +0000 (19:19 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 21 Oct 2021 09:43:50 +0000 (18:43 +0900)
Change-Id: Iafdd44d17ca4d5f1442bd3a2e4a2098fbde3ec6c
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/bm_server.c

index 8defd9a..9c5856d 100644 (file)
@@ -307,7 +307,7 @@ static void after_bus_acquired()
 
        int ret_val;
 
-       ret_val = gdbus_add_object(NULL, DEVICED_PATH_DISPLAY, &dbus_interface);
+       ret_val = gdbus_register_object(NULL, BATTERY_MONITOR_DBUS_PATH, &dbus_interface);
        if (ret_val < 0)
                _ERR("fail to init dbus method(%d)", ret_val);