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

Commit 75b7ef15 authored by Brad Ebinger's avatar Brad Ebinger Committed by Gerrit Code Review
Browse files

Merge "Adds ACCESS_CLASS_BLOCKED Disconnect cause"

parents 7466567d df0a75fa
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -253,6 +253,12 @@ public class DisconnectCause {
     */
     */
    public static final int WIFI_LOST = 59;
    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:
    // When adding a disconnect type:
    // 1) Update toString() with the newly added disconnect type.
    // 1) Update toString() with the newly added disconnect type.
@@ -385,6 +391,8 @@ public class DisconnectCause {
            return "IMEI_NOT_ACCEPTED";
            return "IMEI_NOT_ACCEPTED";
        case WIFI_LOST:
        case WIFI_LOST:
            return "WIFI_LOST";
            return "WIFI_LOST";
        case IMS_ACCESS_BLOCKED:
            return "IMS_ACCESS_BLOCKED";
        default:
        default:
            return "INVALID: " + cause;
            return "INVALID: " + cause;
        }
        }