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

Commit 4cb835de authored by Pavlin Radoslavov's avatar Pavlin Radoslavov
Browse files

Explicitly stop the stream when the A2DP session ends

Note: this needs to be done only for the A2DP HW offload scenario.
For the software data path, this will be done by the Audio HAL.

Bug: 80117050
Test: Manual
Change-Id: I4397d219d82d779706e946f0c7f833c1e93e91f4
parent 67c826aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -504,6 +504,7 @@ static void btif_a2dp_source_end_session_delayed(
    return;
  }
  if (btif_av_is_a2dp_offload_enabled()) {
    btif_av_stream_stop();
    btif_a2dp_audio_interface_end_session();
  }
}