From: Wootak Jung Date: Tue, 7 Apr 2020 06:02:02 +0000 (+0900) Subject: Specify the sender to receive necessary PropertiesChanged signals. X-Git-Tag: accepted/tizen/unified/20200409.083627^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git;a=commitdiff_plain;h=cbe28bdbe089766372453407f29ceaccf7e06a91 Specify the sender to receive necessary PropertiesChanged signals. Apr 07 13:07:30 localhost dbus[326]: [system] Rejected send message, 2 matched rules; type="signal", sender=":1.2" (uid=0 pid=1 comm="/sb in/init ") interface="org.freedesktop.DBus.Properties" member="Prope rtiesChanged" error name="(unset)" requested_reply="0" destination=" org.freedesktop.DBus" privilege="(n/a)" (uid=551 pid=849 comm="/usr/ bin/bluetooth-ag-agent ") rule() Change-Id: I423e4577182e79c0c630b2247f7888ac6539ccb0 Signed-off-by: Wootak Jung --- diff --git a/ag-agent/bluetooth-ag-agent.c b/ag-agent/bluetooth-ag-agent.c index 71d6b1c..893e824 100644 --- a/ag-agent/bluetooth-ag-agent.c +++ b/ag-agent/bluetooth-ag-agent.c @@ -4403,7 +4403,7 @@ static void __bt_ag_agent_dbus_init(void) #ifdef TIZEN_FEATURE_BT_MEDIA_ENHANCE media_sig_id = g_dbus_connection_signal_subscribe(ag_dbus_conn, - NULL, BT_PROPERTIES_INTERFACE, NULL, NULL, + BLUEZ_SERVICE_NAME, BT_PROPERTIES_INTERFACE, NULL, NULL, NULL, 0, __bt_ag_agent_media_filter_cb, NULL, NULL);