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

Commit cae85857 authored by Henri Chataing's avatar Henri Chataing
Browse files

[MTK] [CONVERGENCE] [ALPS07807894] ring timer not cancel

[Detail] ring timer should be canceled when
incoming/outgoing 3-way canceled before connected

[Solution] cancel the ring timer

Migration Patch: 5672014, 4480998

Feature: BT HOST SW
Bug: 328847401
Fix: 328847401
Test: m com.android.btservices
Flag: EXEMPT, minor bug fix
Change-Id: Iaf69c630e276db79b424afa6ebd3b2d3c486ff72
parent 51c10f3d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1668,6 +1668,8 @@ static void bta_ag_hfp_result(tBTA_AG_SCB* p_scb, const tBTA_AG_API_RESULT& resu
      break;

    case BTA_AG_CALL_CANCEL_RES:
      alarm_cancel(p_scb->ring_timer);

      /* send indicators */
      bta_ag_send_call_inds(p_scb, result.result);
      break;