Add enterprise to metered APN

In consistent with S, enterprise APN type is considered metered, move
from hard coded Dctracker setup evaluation to the config default value.

Bug: 284152056
Test: daily testing (b/288038359 : p23 + b/288038354: P22 )
Change-Id: I4d71f5f260d131fe6f6341c13c2e3e7628b3f740
Merged-In: I4d71f5f260d131fe6f6341c13c2e3e7628b3f740
This commit is contained in:
Ling Ma
2023-06-20 15:03:13 -07:00
parent 255d919f5c
commit b2f9a4ef1d

View File

@@ -8759,9 +8759,9 @@ public class CarrierConfigManager {
sDefaults.putString(KEY_CARRIER_ERI_FILE_NAME_STRING, "eri.xml");
sDefaults.putInt(KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT, 7200);
sDefaults.putStringArray(KEY_CARRIER_METERED_APN_TYPES_STRINGS,
new String[]{"default", "mms", "dun", "supl"});
new String[]{"default", "mms", "dun", "supl", "enterprise"});
sDefaults.putStringArray(KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS,
new String[]{"default", "mms", "dun", "supl"});
new String[]{"default", "mms", "dun", "supl", "enterprise"});
sDefaults.putIntArray(KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY,
new int[] {TelephonyManager.NETWORK_TYPE_CDMA, TelephonyManager.NETWORK_TYPE_1xRTT,
TelephonyManager.NETWORK_TYPE_EVDO_0, TelephonyManager.NETWORK_TYPE_EVDO_A,