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

Commit b3269ddf authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Grzegorz Kolodziejczyk
Browse files

le_audio: Correct streaming request notification for sink monitoring

This updates handling streaming request notification for sink monitoring
when there was previousely send some notification (previous status was
not empty).

Tag: #Bug
Bug: 305943737
Bug: 308171251
Test: atest bluetooth_le_audio_client_test
Change-Id: Ib7eb7bf1e27c88c6c23323fdc6a222d06438a20c
parent 3b4d0ef5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4263,7 +4263,8 @@ class LeAudioClientImpl : public LeAudioClient {

    if (sink_monitor_mode_ &&
        active_group_id_ == bluetooth::groups::kGroupUnknown) {
      if (!sink_monitor_notified_status_) {
      if (sink_monitor_notified_status_ !=
          UnicastMonitorModeStatus::STREAMING_REQUESTED) {
        notifyAudioLocalSink(UnicastMonitorModeStatus::STREAMING_REQUESTED);
      }
      CancelLocalAudioSinkStreamingRequest();