mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: rename 'bluez5.reconnect-profiles' property to 'bluez5.auto-connect'
Avoid confusion with 'ReconnectUUIDs' in bluez policy config. See #1081.
This commit is contained in:
parent
f44d00424f
commit
8129b6658e
2 changed files with 7 additions and 6 deletions
|
|
@ -1881,7 +1881,7 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
int profiles;
|
||||
this->bt_dev->settings = filter_bluez_device_setting(this, info);
|
||||
|
||||
if ((str = spa_dict_lookup(info, "bluez5.reconnect-profiles")) != NULL) {
|
||||
if ((str = spa_dict_lookup(info, "bluez5.auto-connect")) != NULL) {
|
||||
if ((profiles = spa_bt_profiles_from_json_array(str)) >= 0)
|
||||
this->bt_dev->reconnect_profiles = profiles;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue