Specify the sender to receive necessary PropertiesChanged signals. 02/230002/1 accepted/tizen/unified/20200409.083627 submit/tizen/20200408.035538
authorWootak Jung <wootak.jung@samsung.com>
Tue, 7 Apr 2020 06:02:02 +0000 (15:02 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 7 Apr 2020 06:05:20 +0000 (15:05 +0900)
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(<deny send_destination="org.bluez.ag_
agent" />)

Change-Id: I423e4577182e79c0c630b2247f7888ac6539ccb0
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
ag-agent/bluetooth-ag-agent.c

index 71d6b1c..893e824 100644 (file)
@@ -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);