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:
Huang-Huang Bao 2021-04-22 08:26:46 +08:00 committed by Wim Taymans
parent f44d00424f
commit 8129b6658e
2 changed files with 7 additions and 6 deletions

View file

@ -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;
}