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

Commit 5a86a26c authored by Satish Kodishala's avatar Satish Kodishala Committed by android-build-merger
Browse files

Merge "Check MT call setup state before starting ring timer"

am: 31ffa327

Change-Id: I9e2be9fba8c802e933ea853dc0130d8271ba252f
parents 77885b9c 31ffa327
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1752,6 +1752,11 @@ void bta_ag_send_bcs(tBTA_AG_SCB* p_scb, tBTA_AG_DATA* p_data) {
 *
 ******************************************************************************/
void bta_ag_send_ring(tBTA_AG_SCB* p_scb, UNUSED_ATTR tBTA_AG_DATA* p_data) {
  if (p_scb->callsetup_ind != BTA_AG_CALLSETUP_INCOMING) {
    APPL_TRACE_DEBUG("%s: don't send the ring since there is no MT call setup",
                     __func__);
    return;
  }
  /* send RING */
  bta_ag_send_result(p_scb, BTA_AG_LOCAL_RES_RING, NULL, 0);