Modify dbus method call for cooldown status 92/223692/1 accepted/tizen/unified/20200204.125752 submit/tizen/20200204.042257
authorsinikang <sinikang@samsung.com>
Mon, 3 Feb 2020 05:28:09 +0000 (14:28 +0900)
committersinikang <sinikang@samsung.com>
Mon, 3 Feb 2020 05:28:09 +0000 (14:28 +0900)
Change-Id: I0b7a7d8af303e8b3c2fcba10e1ea2112a38c29e5
Signed-off-by: sinikang <sinikang@samsung.com>
module/include/callmgr-cooldown.h
module/src/callmgr-cooldown.c
packaging/call-manager.spec

index bbca4182a895474755198acb3d8f9f638ee70cfa..849ef4f15756cb83d0740f6c808d317343a9184f 100644 (file)
 #ifndef __CALLMGR_COOLDOWN_H__
 #define __CALLMGR_COOLDOWN_H__
 
-#define DBUS_NAME_DEVICED "org.tizen.system.deviced"
-#define DBUS_PATH_DEVICED_SYSNOTI "/Org/Tizen/System/DeviceD/SysNoti"
-#define DBUS_INTERFACE_DEVICED_SYSNOTI "org.tizen.system.deviced.SysNoti"
+#define DBUS_SERVICE_THERMAL "org.tizen.system.thermal"
+#define DBUS_PATH_THERMAL "/Org/Tizen/System/Thermal"
+#define DBUS_INTERFACE_THERMAL "org.tizen.system.thermal"
 #define DBUS_METHOD_GET_COOLDOWN_STATUS "GetCoolDownStatus"
-#define DBUS_SIGNAL_COOLDOWN_CHANGED "CoolDownChanged"
 
 typedef struct __cooldown_data *callmgr_cooldown_h;
 
index 84e3b6b731e38c19742974d112ab69a59e744722..5c6f62de62a50fbb3de3d16c5c90f6a9d706f1e9 100644 (file)
@@ -75,11 +75,13 @@ static void __callmgr_cooldown_get_cooldown_status(callmgr_cooldown_h handle)
        }
 
        dbus_result = g_dbus_connection_call_sync(dbus_conn,
-               DBUS_NAME_DEVICED,
-               DBUS_PATH_DEVICED_SYSNOTI,
-               DBUS_INTERFACE_DEVICED_SYSNOTI,
+               DBUS_SERVICE_THERMAL,
+               DBUS_PATH_THERMAL,
+               DBUS_INTERFACE_THERMAL,
                DBUS_METHOD_GET_COOLDOWN_STATUS,
-               NULL, NULL, G_DBUS_CALL_FLAGS_NONE,
+               NULL,
+               NULL,
+               G_DBUS_CALL_FLAGS_NONE,
                60 * 1000, NULL, &error);
        if (dbus_result) {
                gchar *status = NULL;
index f9604d9459dc7a3a22ad9d745c5dd4d22c290a61..99b36f38d9f7a002857f1a061d3a2bce735580e9 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 2
-%define patchlevel 62
+%define patchlevel 63
 %define ext_feature 0
 
 Name:           call-manager