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

Commit cf46f9bb authored by Sarah Chin's avatar Sarah Chin Committed by Sarah Kim
Browse files

Add new disconnect cause for satellite enabled

Test: unit tests, CTS, verify voice call on live network
Bug: 278578254
Change-Id: I03d9b3b96bc3a813fda1e72210573a64463ee582
parent ac23a37b
Loading
Loading
Loading
Loading
+167 −160
Original line number Diff line number Diff line
@@ -360,6 +360,11 @@ public final class DisconnectCause {
     */
    public static final int INCOMING_AUTO_REJECTED = 81;

    /**
     * Indicates that the call was unable to be made because the satellite modem is enabled.
     * @hide
     */
    public static final int SATELLITE_ENABLED = 82;

    //*********************************************************************************************
    // When adding a disconnect type:
@@ -539,6 +544,8 @@ public final class DisconnectCause {
                return "OUTGOING_EMERGENCY_CALL_PLACED";
            case INCOMING_AUTO_REJECTED:
                return "INCOMING_AUTO_REJECTED";
            case SATELLITE_ENABLED:
                return "SATELLITE_ENABLED";
            default:
                return "INVALID: " + cause;
        }