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

Commit 094b1694 authored by Aritra Sen's avatar Aritra Sen
Browse files

Correct logging levels when AV streaming is stopped

Tag: #stability
Test: mma -j32
Change-Id: I8707486f453e3bc10339707fc0737a49d47a1c38
parent 69b60eec
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -1979,9 +1979,8 @@ void bta_av_str_stopped(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data) {
  bool sus_evt = true;
  bool sus_evt = true;
  BT_HDR* p_buf;
  BT_HDR* p_buf;


  APPL_TRACE_ERROR(
  LOG_INFO("peer %s bta_handle:0x%x audio_open_cnt:%d, p_data %p start:%d",
      "%s: peer %s bta_handle:0x%x audio_open_cnt:%d, p_data %p start:%d",
           ADDRESS_TO_LOGGABLE_CSTR(p_scb->PeerAddress()), p_scb->hndl,
      __func__, ADDRESS_TO_LOGGABLE_CSTR(p_scb->PeerAddress()), p_scb->hndl,
           bta_av_cb.audio_open_cnt, p_data, start);
           bta_av_cb.audio_open_cnt, p_data, start);


  bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->PeerAddress());
  bta_sys_idle(BTA_ID_AV, bta_av_cb.audio_open_cnt, p_scb->PeerAddress());