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

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

Change-Id: Ie29e837b6f952249683440f09630a587795238fa
parents 3793a4ee 99533575
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;
        }