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

Commit 2340c294 authored by Alice Kuo's avatar Alice Kuo Committed by Automerger Merge Worker
Browse files

Clear the pending start stream request as the set state timeout am: 71f1530c...

Clear the pending start stream request as the set state timeout am: 71f1530c am: 87bc2571 am: 5bd64428 am: 982db96f

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

Change-Id: I4b494194ee26c29e088cb82002aa5771f7af5389
parents 4a61469e 982db96f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -298,8 +298,7 @@ class LeAudioClientImpl : public LeAudioClient {

    /* Releasement didn't finished in time */
    if (group->GetTargetState() == AseState::BTA_LE_AUDIO_ASE_STATE_IDLE) {
      audio_sender_state_ = AudioState::IDLE;
      audio_receiver_state_ = AudioState::IDLE;
      CancelStreamingRequest();
      LeAudioDevice* leAudioDevice = group->GetFirstActiveDevice();
      LOG_ASSERT(leAudioDevice)
          << __func__ << " Shouldn't be called without an active device.";