Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 915ee31a authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Configure only connected device" am: 3aa36b67 am: 9c437345...

Merge "leaudio: Configure only connected device" am: 3aa36b67 am: 9c437345 am: 1edd3842 am: 00546e87

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2083623



Change-Id: Ia4beb8947145c4a2125c0b56da4b07697859b685
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 48b08472 00546e87
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1081,6 +1081,9 @@ bool LeAudioDeviceGroup::ConfigureAses(
      /* Skip if device has ASE configured in this direction already */
      if (device->GetFirstActiveAseByDirection(ent.direction)) continue;

      /* For the moment, we configure only connected devices. */
      if (device->conn_id_ == GATT_INVALID_CONN_ID) continue;

      if (!device->ConfigureAses(ent, context_type, &active_ase_num,
                                 group_snk_audio_locations,
                                 group_src_audio_locations, reuse_cis_id))