dbus: proxy: disable load properties flag 11/183111/1 accepted/tizen/unified/20180704.154013 submit/tizen/20180704.010647
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 2 Jul 2018 07:32:06 +0000 (16:32 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 2 Jul 2018 08:59:32 +0000 (17:59 +0900)
gdbus proxy makes few dbus messages such as Get, Set, GetAll method call.(org.freedesktop.DBus.Properties)
Also API trying to subscribe PropertiesChanged signal.
But, deviced doesn't offer dbus properties, so it is not needed to use this property releated mechanism.

Change-Id: I57ce4ab1379aa7e008750de48ff73d7c83c394ff
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
src/dbus.c

index c584ff1..0dcb159 100755 (executable)
@@ -210,7 +210,7 @@ static GDBusProxy *get_proxy_from_proxy_pool(const char *dest,
        }
 
        proxy = g_dbus_proxy_new_sync(conn,
-                       G_DBUS_PROXY_FLAGS_NONE,
+                       G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,
                        NULL,      /* GDBusinterfaceinfo */
                        dest,      /* bus name */
                        path,      /* object path */