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

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

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

* commit 'f1400336':
  Remove role adjustment logic from Conn busy/idle handler
parents e9fd8113 f1400336
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);