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

Commit 3ef0e835 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Add state for 480,486,500,503,603 responses of PUBLISH" into tm-dev

parents eb40db77 7139e6e9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -297,7 +297,12 @@ public class UceDeviceState {
                break;

            case NetworkSipCode.SIP_CODE_REQUEST_ENTITY_TOO_LARGE:   // sip 413
            case NetworkSipCode.SIP_CODE_TEMPORARILY_UNAVAILABLE:   // sip 480
            case NetworkSipCode.SIP_CODE_BUSY:   // sip 486
            case NetworkSipCode.SIP_CODE_SERVER_INTERNAL_ERROR:   // sip 500
            case NetworkSipCode.SIP_CODE_SERVICE_UNAVAILABLE:   // sip 503
            case NetworkSipCode.SIP_CODE_BUSY_EVERYWHERE:   // sip 600
            case NetworkSipCode.SIP_CODE_DECLINE:   // sip 603
                if (requestType == UceController.REQUEST_TYPE_PUBLISH) {
                    setDeviceState(DEVICE_STATE_NO_RETRY);
                    // There is no request retry time for SIP code 413