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

Commit 660a94ae authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Add isEmergencyApn"

parents 06675f91 65dfd9d9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1055,6 +1055,11 @@ public class ApnSetting implements Parcelable {
        return (mApnTypeBitmask & type) == type;
    }

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

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