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

Commit 01493ff2 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Add isEmergencyApn"

am: 660a94ae

Change-Id: I2cc69815894a426423396efb512986581b25c3e3
parents 78f50dfb 660a94ae
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1055,6 +1055,11 @@ public class ApnSetting implements Parcelable {
        return (mApnTypeBitmask & type) == type;
        return (mApnTypeBitmask & type) == type;
    }
    }


    /** @hide */
    public boolean isEmergencyApn() {
        return hasApnType(TYPE_EMERGENCY);
    }

    /** @hide */
    /** @hide */
    public boolean canHandleType(@ApnType int type) {
    public boolean canHandleType(@ApnType int type) {
        if (!mCarrierEnabled) {
        if (!mCarrierEnabled) {