Add G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag.
app2sd-server does not provide object which has properties.
Without this flag, g_dbus_proxy_new_sync() will try to load properties
using GetAll method, and this call will be denied by default dbus policy.
Change-Id: Idbce104f86fb6f6067d314a4c7784b487b9235d6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
/* method call */
do {
proxy = g_dbus_proxy_new_sync(conn,
- G_DBUS_PROXY_FLAGS_NONE, NULL,
+ G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, NULL,
APP2SD_BUS_NAME, APP2SD_OBJECT_PATH,
APP2SD_INTERFACE_NAME,
NULL, &error);