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

Commit 8c4a98b3 authored by Cheney Ni's avatar Cheney Ni Committed by android-build-merger
Browse files

Merge "A2DP: Clear local pending flags while AV is stable"

am: e5b4b093

Change-Id: Idd0757605ff182e0e6cc7db64b616a683f5d2f45
parents 07e4acdc e5b4b093
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2109,10 +2109,8 @@ bool BtifAvStateMachine::StateStarted::ProcessEvent(uint32_t event,
        state = BTAV_AUDIO_STATE_STOPPED;
      }

      // Suspend completed, clear pending status
      peer_.ClearFlags(BtifAvPeer::kFlagLocalSuspendPending);

      btif_report_audio_state(peer_.PeerAddress(), state);
      // Suspend completed, clear local pending flags while entering Opened
      peer_.StateMachine().TransitionTo(BtifAvStateMachine::kStateOpened);
    } break;