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

Commit 6ddd86dd 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

am: 5a86a26c

Change-Id: I22bc5f0fa848f125cc34fe353aa8e24d65f20108
parents c44f2a2b 5a86a26c
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);