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

Commit f1400336 authored by Ganesh Ganapathi Batta's avatar Ganesh Ganapathi Batta Committed by Android Git Automerger
Browse files

am bf1ccdfc: Remove role adjustment logic from Conn busy/idle handler

* commit 'bf1ccdfc':
  Remove role adjustment logic from Conn busy/idle handler
parents 92e36d19 bf1ccdfc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3661,7 +3661,11 @@ static void bta_dm_rm_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id,
        }
        APPL_TRACE_WARNING2("bta_dm_rm_cback:%d, status:%d", bta_dm_cb.cur_av_count, status);
    }

    else if ((status == BTA_SYS_CONN_BUSY) || (status == BTA_SYS_CONN_IDLE))
    {
        /* Do not do role switch management for non-AV profiles when data flow starts/stops */
        return;
    }

    bta_dm_adjust_roles(FALSE);