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

Commit b07027fb authored by Yueming Wang's avatar Yueming Wang Committed by Android (Google) Code Review
Browse files

Merge "Revert to previous constant value for ApnSetting.TYPE_DEFAULT."

parents b32cb2a7 d5b27f37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43323,7 +43323,7 @@ package android.telephony.data {
    field public static final int PROTOCOL_IPV6 = 1; // 0x1
    field public static final int PROTOCOL_PPP = 3; // 0x3
    field public static final int TYPE_CBS = 128; // 0x80
    field public static final int TYPE_DEFAULT = 1; // 0x1
    field public static final int TYPE_DEFAULT = 17; // 0x11
    field public static final int TYPE_DUN = 8; // 0x8
    field public static final int TYPE_EMERGENCY = 512; // 0x200
    field public static final int TYPE_FOTA = 32; // 0x20
+2 −2
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ public class ApnSetting implements Parcelable {
     */
    public static final int TYPE_ALL = ApnTypes.ALL;
    /** APN type for default data traffic. */
    public static final int TYPE_DEFAULT = ApnTypes.DEFAULT;
    public static final int TYPE_DEFAULT = ApnTypes.DEFAULT | ApnTypes.HIPRI;
    /** APN type for MMS traffic. */
    public static final int TYPE_MMS = ApnTypes.MMS;
    /** APN type for SUPL assisted GPS. */
@@ -979,7 +979,7 @@ public class ApnSetting implements Parcelable {
            return false;
        }
        // DEFAULT can handle HIPRI.
        if (hasApnType(type) || (type == TYPE_HIPRI && hasApnType(TYPE_DEFAULT))) {
        if (hasApnType(type)) {
            return true;
        }
        return false;