Fix a bug in dbus for method DeviceList 78/169878/2 accepted/tizen/unified/20180213.055906 submit/tizen/20180212.102636
authorlokilee73 <changjoo.lee@samsung.com>
Mon, 12 Feb 2018 04:46:58 +0000 (13:46 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 12 Feb 2018 04:51:03 +0000 (13:51 +0900)
Change-Id: Iaf9972473c3f6ac3a8bada31b0491cc8404889c5
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/core/devices.c
src/shared/dbus.c

index 1f5e2ba..e91c7ff 100644 (file)
@@ -79,6 +79,7 @@ GVariant *dbus_device_list(GDBusConnection *conn,
        DD_LIST_FOREACH(dev_head, elem, dev)
                _I("%s", dev->name);
 
+       g_dbus_method_invocation_return_value(invocation, NULL);
        return NULL;
 }
 
index be38b85..1ab3248 100644 (file)
@@ -1042,7 +1042,6 @@ static void _method_call_handler(GDBusConnection *conn,
 
                /* async, maybe they will reply...maybe.. */
                if (!result) {
-                       _E("finish method handle : NULL");
                        return ;
                }
        } else {