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

Commit 86689dba authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Minor cleanup

Extend logs with group id when setting state and target state

Bug: 331775328
Flag: Exempt, log only
Test: mmm packages/modules/Bluetooth
Change-Id: If3001b716d5a54de76f05244cdf5b94a8bc605fe
parent df6335d8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ public:

  inline types::AseState GetState(void) const { return current_state_; }
  void SetState(types::AseState state) {
    log::info("current state: {}, new state {}, in_transition_ {}",
    log::info("group_id: {} current state: {}, new state {}, in_transition_ {}", group_id_,
              bluetooth::common::ToString(current_state_), bluetooth::common::ToString(state),
              in_transition_);
    LeAudioLogHistory::Get()->AddLogHistory(kLogStateMachineTag, group_id_, RawAddress::kEmpty,
@@ -272,7 +272,7 @@ public:
    return notify_streaming_when_cises_are_ready_;
  }
  void SetTargetState(types::AseState state) {
    log::info("target state: {}, new target state: {}, in_transition_ {}",
    log::info("group_id: {} target state: {}, new target state: {}, in_transition_ {}", group_id_,
              bluetooth::common::ToString(target_state_), bluetooth::common::ToString(state),
              in_transition_);
    LeAudioLogHistory::Get()->AddLogHistory(