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

Commit 2b082ce7 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Undo commit "Expose constants in Telephony.Carriers"" am: 774efe07

Change-Id: Ifbe8ce193c55fea9298558f7df4b63ee654ce10b
parents 9e9298af 774efe07
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -125,6 +125,15 @@ public class ApnSetting implements Parcelable {
    /** Authentication type for PAP or CHAP. */
    public static final int AUTH_TYPE_PAP_OR_CHAP = 3;

    /** @hide */
    @IntDef({
            Telephony.Carriers.SKIP_464XLAT_DEFAULT,
            Telephony.Carriers.SKIP_464XLAT_DISABLE,
            Telephony.Carriers.SKIP_464XLAT_ENABLE,
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface Skip464XlatStatus {}

    /**
     * APN types for data connections.  These are usage categories for an APN
     * entry.  One APN entry may support multiple APN types, eg, a single APN
@@ -741,7 +750,7 @@ public class ApnSetting implements Parcelable {
     * @return SKIP_464XLAT_DEFAULT, SKIP_464XLAT_DISABLE or SKIP_464XLAT_ENABLE
     * @hide
     */
    @Carriers.Skip464XlatStatus
    @Skip464XlatStatus
    public int getSkip464Xlat() {
        return mSkip464Xlat;
    }
@@ -2061,7 +2070,7 @@ public class ApnSetting implements Parcelable {
         * @param skip464xlat skip464xlat for this APN
         * @hide
         */
        public Builder setSkip464Xlat(@Carriers.Skip464XlatStatus int skip464xlat) {
        public Builder setSkip464Xlat(@Skip464XlatStatus int skip464xlat) {
            this.mSkip464Xlat = skip464xlat;
            return this;
        }