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

Commit b9f5f2b9 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Improve logs

Bug: 150670922
Sponsor: @jpawlowski
Test: compile

Change-Id: Ifdc10b82b3c7fb354c2a513373d7ed434156e538
parent f1e3ee9e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -211,7 +211,8 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {

  void StopStream(LeAudioDeviceGroup* group) override {
    if (group->IsReleasing()) {
      LOG(INFO) << __func__ << ", group already in releasing process";
      LOG(INFO) << __func__ << ", group: " << group->group_id_
                << " already in releasing process";
      return;
    }

@@ -596,7 +597,9 @@ class LeAudioGroupStateMachineImpl : public LeAudioGroupStateMachine {
    }

    if (group->GetTargetState() != AseState::BTA_LE_AUDIO_ASE_STATE_STREAMING) {
      LOG(ERROR) << __func__ << ", Unintended CIS establishement event came";
      LOG(ERROR) << __func__
                 << ", Unintended CIS establishement event came for group id:"
                 << group->group_id_;
      StopStream(group);
      return;
    }