Fix dbus proxy creation code 95/183195/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 3 Jul 2018 08:28:52 +0000 (17:28 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Tue, 3 Jul 2018 08:28:52 +0000 (17:28 +0900)
commitfb747a8d0775e77e0aab2fe0a1bd94fb33b6e603
treed3a89d1f1994dc461e121a058a861e21b77d499a
parente9754df84411c42badf4397184e2f84eec346ffd
Fix dbus proxy creation code

Add G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag.
pkgmgr-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: I77248031e93bf30ea386d5e6b4838129cdc2aaa1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
client/src/pkgmgr_client_connection.c