[pulseaudio-discuss] [PATCH 3/3] bluetooth: Remove the 'bluez.name' property

jprvita at gmail.com jprvita at gmail.com
Fri Apr 26 08:30:26 PDT 2013


From: João Paulo Rechi Vita <jprvita at openbossa.org>

The org.bluez.Device1.Name property is optional and may not be present
(that happens with the PTS 4.7.0), so it's better not to expose it to
clients so they don't rely on its existence.
---
 src/modules/bluetooth/module-bluetooth-device.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c
index 11c6e5f..542f0af 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -2242,7 +2242,6 @@ static int add_card(struct userdata *u) {
 
     pa_proplist_sets(data.proplist, "bluez.path", device->path);
     pa_proplist_setf(data.proplist, "bluez.class", "0x%06x", (unsigned) device->class);
-    pa_proplist_sets(data.proplist, "bluez.name", device->name);
     pa_proplist_sets(data.proplist, "bluez.alias", device->alias);
     data.name = get_name("card", u->modargs, device->address, &b);
     data.namereg_fail = b;
-- 
1.7.11.7



More information about the pulseaudio-discuss mailing list