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

Commit 89ca2ac8 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

Revert "LeAudio: Fix missing audio HAL responses on failure"

This reverts commit 8e65af97.

Reason for revert: Fix for crash.

If there is no active group, there is no audio session.
So le_audio_source_hal_client_ and le_audio_sink_hal_client_ are null

Bug: 271790037
Change-Id: I7cffe8262e4361467ad517cc2661f0ee5230c5a2
Test: Manual
Test: atest BluetoothInstrumentationTests
parent 8e65af97
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3334,7 +3334,6 @@ class LeAudioClientImpl : public LeAudioClient {
    if (!group) {
      LOG(ERROR) << __func__
                 << ", Invalid group: " << static_cast<int>(active_group_id_);
      le_audio_source_hal_client_->CancelStreamingRequest();
      return;
    }

@@ -3491,7 +3490,6 @@ class LeAudioClientImpl : public LeAudioClient {
    if (!group) {
      LOG(ERROR) << __func__
                 << ", Invalid group: " << static_cast<int>(active_group_id_);
      le_audio_sink_hal_client_->CancelStreamingRequest();
      return;
    }