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

Commit b2944bf8 authored by Brad Ebinger's avatar Brad Ebinger Committed by Gerrit Code Review
Browse files

Merge "Trigger silent redial under alerting state"

parents 54914a51 dbcc011d
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2783,6 +2783,17 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                }
                mMetrics.writeOnImsCallStartFailed(mPhone.getPhoneId(), imsCall.getCallSession(),
                        reasonInfo);
            } else if (reasonInfo.getCode() == ImsReasonInfo.CODE_LOCAL_CALL_CS_RETRY_REQUIRED
                    && mForegroundCall.getState() == ImsPhoneCall.State.ALERTING) {
                if (DBG) log("onCallStartFailed: Initiated call by silent redial"
                        + " under ALERTING state.");
                ImsPhoneConnection conn = findConnection(imsCall);
                if (conn != null) {
                    mForegroundCall.detach(conn);
                    removeConnection(conn);
                }
                updatePhoneState();
                mPhone.initiateSilentRedial();
            }
        }