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

Commit 99533575 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

Change-Id: I32989c307a3c251e1d9df65cf6c91b4b29a2452e
parents 27bf5d8a bbe9e262
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -253,6 +253,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.
@@ -385,6 +391,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;
        }