Add carrier config key KEY_EDITABLE_TETHER_APN_BOOL.
Default false. If true, will allow use edited tether APN to take effect. Bug: b/30622475 Change-Id: I526e41e816582e1c5219600d74980fd7754361e6
This commit is contained in:
@@ -1027,6 +1027,17 @@ public class CarrierConfigManager {
|
|||||||
public static final String KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT =
|
public static final String KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT =
|
||||||
"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. */
|
/** The default value for every variable. */
|
||||||
private final static PersistableBundle sDefaults;
|
private final static PersistableBundle sDefaults;
|
||||||
|
|
||||||
@@ -1207,6 +1218,7 @@ public class CarrierConfigManager {
|
|||||||
sDefaults.putBoolean(KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL, false);
|
sDefaults.putBoolean(KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL, false);
|
||||||
sDefaults.putStringArray(KEY_CARRIER_WIFI_STRING_ARRAY, null);
|
sDefaults.putStringArray(KEY_CARRIER_WIFI_STRING_ARRAY, null);
|
||||||
sDefaults.putInt(KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, -1);
|
sDefaults.putInt(KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT, -1);
|
||||||
|
sDefaults.putBoolean(KEY_EDITABLE_TETHER_APN_BOOL, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user