Merge "Added IWLAN metered APN support"
am: 70fe11fc38
Change-Id: I12573353fca921d1454d6829302a379cd6b2cc8b
This commit is contained in:
@@ -574,11 +574,19 @@ public class CarrierConfigManager {
|
|||||||
public static final String KEY_CARRIER_METERED_APN_TYPES_STRINGS =
|
public static final String KEY_CARRIER_METERED_APN_TYPES_STRINGS =
|
||||||
"carrier_metered_apn_types_strings";
|
"carrier_metered_apn_types_strings";
|
||||||
/**
|
/**
|
||||||
* Default APN types that are roamig-metered by the carrier
|
* Default APN types that are roaming-metered by the carrier
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
public static final String KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS =
|
public static final String KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS =
|
||||||
"carrier_metered_roaming_apn_types_strings";
|
"carrier_metered_roaming_apn_types_strings";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default APN types that are metered on IWLAN by the carrier
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS =
|
||||||
|
"carrier_metered_iwlan_apn_types_strings";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CDMA carrier ERI (Enhanced Roaming Indicator) file name
|
* CDMA carrier ERI (Enhanced Roaming Indicator) file name
|
||||||
* @hide
|
* @hide
|
||||||
@@ -1437,6 +1445,9 @@ public class CarrierConfigManager {
|
|||||||
new String[]{"default", "mms", "dun", "supl"});
|
new String[]{"default", "mms", "dun", "supl"});
|
||||||
sDefaults.putStringArray(KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS,
|
sDefaults.putStringArray(KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS,
|
||||||
new String[]{"default", "mms", "dun", "supl"});
|
new String[]{"default", "mms", "dun", "supl"});
|
||||||
|
// By default all APNs are unmetered if the device is on IWLAN.
|
||||||
|
sDefaults.putStringArray(KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS,
|
||||||
|
new String[]{});
|
||||||
|
|
||||||
sDefaults.putIntArray(KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY,
|
sDefaults.putIntArray(KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY,
|
||||||
new int[]{
|
new int[]{
|
||||||
|
|||||||
Reference in New Issue
Block a user