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

Commit 8ff4345d authored by Jakub Tyszkowski's avatar Jakub Tyszkowski Committed by Automerger Merge Worker
Browse files

Merge "LeAudio: Fix autoconnect flag storage" am: afee2d86

parents 867df5df afee2d86
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1494,9 +1494,9 @@ class LeAudioClientImpl : public LeAudioClient {
               dev = group->GetNextDevice(dev)) {
            if (dev->GetConnectionState() ==
                DeviceConnectState::CONNECTING_AUTOCONNECT) {
              btif_storage_set_leaudio_autoconnect(address, false);
              btif_storage_set_leaudio_autoconnect(dev->address_, false);
              dev->autoconnect_flag_ = false;
              BTA_GATTC_CancelOpen(gatt_if_, address, false);
              BTA_GATTC_CancelOpen(gatt_if_, dev->address_, false);
              dev->SetConnectionState(DeviceConnectState::DISCONNECTED);
            }
          }