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

Commit 4cd8ca22 authored by Gary Jian's avatar Gary Jian Committed by Android (Google) Code Review
Browse files

Merge "Convert the fail cause to DisconnectCause.POWER_OFF"

parents 9e5848cd 87ee344c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -559,6 +559,9 @@ public class GsmCdmaConnection extends Connection {
            case CallFailCause.USER_ALERTING_NO_ANSWER:
                return DisconnectCause.TIMED_OUT;

            case CallFailCause.RADIO_OFF:
                return DisconnectCause.POWER_OFF;

            case CallFailCause.ACCESS_CLASS_BLOCKED:
            case CallFailCause.ERROR_UNSPECIFIED:
            case CallFailCause.NORMAL_CLEARING:
+1 −0
Original line number Diff line number Diff line
@@ -2687,6 +2687,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                return DisconnectCause.TIMED_OUT;

            case ImsReasonInfo.CODE_LOCAL_POWER_OFF:
            case ImsReasonInfo.CODE_RADIO_OFF:
                return DisconnectCause.POWER_OFF;

            case ImsReasonInfo.CODE_LOCAL_LOW_BATTERY: