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

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

Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"

am: 75b7ef15

Change-Id: I7075ab7524d363ade4f42d7d3d33251243707e8a
parents 1bb09a71 75b7ef15
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;
        }