pulseaudio/src/modules/bluetooth
Tanu Kaskinen df79abe754 bluetooth: don't send unsolicted replies to the endpoint Release() call
It was reported that PulseAudio causes error messages in syslog from
dbus-daemon:

Jan 14 04:51:32 gentoo dbus-daemon[2492]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.15" (uid=1000 pid=2864 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.1" (uid=0 pid=2670 comm="/usr/libexec/bluetooth/bluetoothd ")

The default policy on the system bus is to not let any method call
replies through if they have not been requested, and apparently
bluetoothd doesn't want replies to the Release() call.

This also changes the reply type from error to normal reply. The "not
implemented" error didn't make sense to me. We don't do any cleanup in
the Release() handler, probably because there's nothing to do. If there
is some cleanup that we should do, then it's a serious bug not to do it.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=104646
2018-01-21 00:17:17 +02:00
..
a2dp-codecs.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
backend-native.c bluez: Don't autodetect MTU by default 2017-09-18 18:49:34 +03:00
backend-ofono.c fix dbus message leaks 2017-07-17 19:29:21 +03:00
bluez4-util.c fix dbus message leaks 2017-07-17 19:29:21 +03:00
bluez4-util.h bluetooth: allow UTF-8 in device descriptions 2017-04-02 20:48:52 +03:00
bluez5-util.c bluetooth: don't send unsolicted replies to the endpoint Release() call 2018-01-21 00:17:17 +02:00
bluez5-util.h bluetooth: recognize another HSP HS UUID 2017-09-05 13:46:27 +03:00
module-bluetooth-discover.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-bluetooth-policy.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-bluez4-device.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-bluez4-discover.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-bluez5-device.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
module-bluez5-discover.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30
rtp.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00