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

Commit c59e01db authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix crash on active LE Audio device switch" into main am: ab9bc1c8

parents 48f2a39c ab9bc1c8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1275,6 +1275,12 @@ class LeAudioClientImpl : public LeAudioClient {
        return;
      }
      log::info("switching active group to: {}", group_id);

      auto result =
          CodecManager::GetInstance()->UpdateActiveUnicastAudioHalClient(
              le_audio_source_hal_client_.get(),
              le_audio_sink_hal_client_.get(), false);
      log::assert_that(result, "Could not update session to codec manager");
    }

    if (!le_audio_source_hal_client_) {