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

Commit a5ce1b44 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause" am: 75b7ef15 am: bbe9e262 am: 99533575

am: ab9ad644

Change-Id: I50ec5d2c4646592d7633e2e453dfa342b4c2cbcf
parents 6a682a58 ab9ad644
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -252,6 +252,12 @@ public class DisconnectCause {
     */
    public static final int WIFI_LOST = 59;

    /**
     * The call has failed because of access class barring.
     * {@hide}
     */
    public static final int IMS_ACCESS_BLOCKED = 60;

    //*********************************************************************************************
    // When adding a disconnect type:
    // 1) Update toString() with the newly added disconnect type.
@@ -384,6 +390,8 @@ public class DisconnectCause {
            return "IMEI_NOT_ACCEPTED";
        case WIFI_LOST:
            return "WIFI_LOST";
        case IMS_ACCESS_BLOCKED:
            return "IMS_ACCESS_BLOCKED";
        default:
            return "INVALID: " + cause;
        }