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

Commit 565fcb4b authored by Junda Liu's avatar Junda Liu Committed by Android (Google) Code Review
Browse files

Merge "Add carrier config key KEY_EDITABLE_TETHER_APN_BOOL." into nyc-mr2-dev

parents ee3af13c 6bb22e3d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1036,6 +1036,17 @@ public class CarrierConfigManager {
    public static final String KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT =
            "network_notification_delay_int";

    /**
     * Determine whether user edited tether APN (type dun) has effect
     * {@code false} - Default. APN with dun type in telephony database has no effect.
     *
     * {@code true}  - DUN APN added/edited in ApnEditor will be used for tethering data call.
     *
     * @hide
     */
    public static final String KEY_EDITABLE_TETHER_APN_BOOL =
            "editable_tether_apn_bool";

    /** The default value for every variable. */
    private final static PersistableBundle sDefaults;

@@ -1217,6 +1228,7 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL, false);
        sDefaults.putStringArray(KEY_CARRIER_WIFI_STRING_ARRAY, null);
        sDefaults.putInt(KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, -1);
        sDefaults.putBoolean(KEY_EDITABLE_TETHER_APN_BOOL, false);
    }

    /**