Loading flags/leaudio.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -73,13 +73,6 @@ flag { bug: "316005152" } flag { name: "le_audio_fast_bond_params" namespace: "bluetooth" description: "Faster LE Audio devices connection" bug: "319405267" } flag { name: "le_audio_dev_type_detection_fix" namespace: "bluetooth" Loading system/bta/le_audio/client.cc +1 −4 Original line number Diff line number Diff line Loading @@ -3286,10 +3286,7 @@ class LeAudioClientImpl : public LeAudioClient { "{}, {}", leAudioDevice->address_, bluetooth::common::ToString(leAudioDevice->GetConnectionState())); if (com::android::bluetooth::flags::le_audio_fast_bond_params()) { L2CA_LockBleConnParamsForProfileConnection(leAudioDevice->address_, false); } L2CA_LockBleConnParamsForProfileConnection(leAudioDevice->address_, false); if (leAudioDevice->GetConnectionState() == DeviceConnectState::CONNECTED_BY_USER_GETTING_READY && Loading system/btif/src/btif_dm.cc +2 −4 Original line number Diff line number Diff line Loading @@ -1900,8 +1900,7 @@ void btif_on_gatt_results(RawAddress bd_addr, BD_NAME bd_name, pairing_cb = {}; } if (com::android::bluetooth::flags::le_audio_fast_bond_params() && lea_supported) { if (lea_supported) { /* LE Audio profile should relax parameters when it connects. If * profile is not enabled, relax parameters after timeout. */ log::debug("Scheduling conn params unlock for {}", bd_addr); Loading Loading @@ -2442,8 +2441,7 @@ void btif_dm_acl_evt(tBTA_DM_ACL_EVT event, tBTA_DM_ACL* p_data) { : bt_conn_direction_t::BT_CONN_DIRECTION_INCOMING, p_data->link_up.acl_handle); if (com::android::bluetooth::flags::le_audio_fast_bond_params() && p_data->link_up.transport_link_type == BT_TRANSPORT_LE && if (p_data->link_up.transport_link_type == BT_TRANSPORT_LE && pairing_cb.bd_addr == bd_addr && is_device_le_audio_capable(bd_addr)) { L2CA_LockBleConnParamsForProfileConnection(bd_addr, true); Loading Loading
flags/leaudio.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -73,13 +73,6 @@ flag { bug: "316005152" } flag { name: "le_audio_fast_bond_params" namespace: "bluetooth" description: "Faster LE Audio devices connection" bug: "319405267" } flag { name: "le_audio_dev_type_detection_fix" namespace: "bluetooth" Loading
system/bta/le_audio/client.cc +1 −4 Original line number Diff line number Diff line Loading @@ -3286,10 +3286,7 @@ class LeAudioClientImpl : public LeAudioClient { "{}, {}", leAudioDevice->address_, bluetooth::common::ToString(leAudioDevice->GetConnectionState())); if (com::android::bluetooth::flags::le_audio_fast_bond_params()) { L2CA_LockBleConnParamsForProfileConnection(leAudioDevice->address_, false); } L2CA_LockBleConnParamsForProfileConnection(leAudioDevice->address_, false); if (leAudioDevice->GetConnectionState() == DeviceConnectState::CONNECTED_BY_USER_GETTING_READY && Loading
system/btif/src/btif_dm.cc +2 −4 Original line number Diff line number Diff line Loading @@ -1900,8 +1900,7 @@ void btif_on_gatt_results(RawAddress bd_addr, BD_NAME bd_name, pairing_cb = {}; } if (com::android::bluetooth::flags::le_audio_fast_bond_params() && lea_supported) { if (lea_supported) { /* LE Audio profile should relax parameters when it connects. If * profile is not enabled, relax parameters after timeout. */ log::debug("Scheduling conn params unlock for {}", bd_addr); Loading Loading @@ -2442,8 +2441,7 @@ void btif_dm_acl_evt(tBTA_DM_ACL_EVT event, tBTA_DM_ACL* p_data) { : bt_conn_direction_t::BT_CONN_DIRECTION_INCOMING, p_data->link_up.acl_handle); if (com::android::bluetooth::flags::le_audio_fast_bond_params() && p_data->link_up.transport_link_type == BT_TRANSPORT_LE && if (p_data->link_up.transport_link_type == BT_TRANSPORT_LE && pairing_cb.bd_addr == bd_addr && is_device_le_audio_capable(bd_addr)) { L2CA_LockBleConnParamsForProfileConnection(bd_addr, true); Loading