dbus: proxy: disable load properties flag 51/183251/1 accepted/tizen/4.0/unified/20180704.152059 submit/tizen_4.0/20180704.015905
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Mon, 2 Jul 2018 07:32:06 +0000 (16:32 +0900)
committersanghyeok oh <sanghyeok.oh@samsung.com>
Wed, 4 Jul 2018 01:53:06 +0000 (01:53 +0000)
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>
(cherry picked from commit 109ab57b0996a55bf170885432c62e44b72f34f1)

src/dbus.c

index e49e71b7f8a5ecdec6a66572ae1704c5e8e64176..fba71a978e2c8cf0dea17b15f6ab6679ef0969d9 100644 (file)
@@ -206,7 +206,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 */