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

Commit fae37c18 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Fix background connection

Use background connection when using autoconnect

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test

Change-Id: I6200c4946a8f4b8c156cc0404e89f4ebde2fc7e7
parent 23cdddd2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -718,7 +718,9 @@ class LeAudioClientImpl : public LeAudioClient {
      group_add_node(group_id, address);
    }

    if (autoconnect) Connect(address);
    if (autoconnect) {
      BTA_GATTC_Open(gatt_if_, address, false, false);
    }
  }

  void Disconnect(const RawAddress& address) override {