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

Commit 18d3ac53 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Suppress some of the Power Management debug log messages

am: 04de8b5c

* commit '04de8b5c':
  Suppress some of the Power Management debug log messages
parents 42513c9e 04de8b5c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -620,7 +620,8 @@ static tBTM_STATUS btm_pm_snd_md_req(UINT8 pm_id, int link_ind, tBTM_PM_PWR_MD *
    BTM_TRACE_DEBUG("btm_pm_snd_md_req state:0x%x, link_ind: %d", p_cb->state, link_ind);
#endif  // BTM_PM_DEBUG

    LOG_DEBUG(LOG_TAG, "%s switching from %s to %s.", __func__, mode_to_string(p_cb->state), mode_to_string(md_res.mode));
    BTM_TRACE_DEBUG("%s switching from %s to %s.", __func__,
                    mode_to_string(p_cb->state), mode_to_string(md_res.mode));
    switch(md_res.mode)
    {
    case BTM_PM_MD_ACTIVE:
@@ -797,7 +798,8 @@ void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, U
    p_cb->state     = mode;
    p_cb->interval  = interval;

    LOG_DEBUG(LOG_TAG, "%s switched from %s to %s.", __func__, mode_to_string(old_state), mode_to_string(p_cb->state));
    BTM_TRACE_DEBUG("%s switched from %s to %s.", __func__,
                    mode_to_string(old_state), mode_to_string(p_cb->state));

    if ((p_lcb = l2cu_find_lcb_by_bd_addr(p->remote_addr, BT_TRANSPORT_BR_EDR)) != NULL)
    {