Add carrier config for data roaming notification
This config, when enabled, shows the user a notification when the device switches to data roaming and the user has data roaming on. Bug: 133358875 Test: manual Change-Id: Ia091575ff0fa7e02f0c6a98bae0e66ef73beff81
This commit is contained in:
@@ -2391,6 +2391,14 @@ public class CarrierConfigManager {
|
|||||||
public static final String KEY_CHECK_PRICING_WITH_CARRIER_FOR_DATA_ROAMING_BOOL =
|
public static final String KEY_CHECK_PRICING_WITH_CARRIER_FOR_DATA_ROAMING_BOOL =
|
||||||
"check_pricing_with_carrier_data_roaming_bool";
|
"check_pricing_with_carrier_data_roaming_bool";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determines whether we should show a notification when the phone established a data
|
||||||
|
* connection in roaming network, to warn users about possible roaming charges.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String KEY_SHOW_DATA_CONNECTED_ROAMING_NOTIFICATION_BOOL =
|
||||||
|
"show_data_connected_roaming_notification";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A list of 4 LTE RSRP thresholds above which a signal level is considered POOR,
|
* A list of 4 LTE RSRP thresholds above which a signal level is considered POOR,
|
||||||
* MODERATE, GOOD, or EXCELLENT, to be used in SignalStrength reporting.
|
* MODERATE, GOOD, or EXCELLENT, to be used in SignalStrength reporting.
|
||||||
@@ -3368,6 +3376,7 @@ public class CarrierConfigManager {
|
|||||||
sDefaults.putString(KEY_CARRIER_SETTINGS_ACTIVITY_COMPONENT_NAME_STRING, "");
|
sDefaults.putString(KEY_CARRIER_SETTINGS_ACTIVITY_COMPONENT_NAME_STRING, "");
|
||||||
sDefaults.putBoolean(KEY_CARRIER_CONFIG_APPLIED_BOOL, false);
|
sDefaults.putBoolean(KEY_CARRIER_CONFIG_APPLIED_BOOL, false);
|
||||||
sDefaults.putBoolean(KEY_CHECK_PRICING_WITH_CARRIER_FOR_DATA_ROAMING_BOOL, false);
|
sDefaults.putBoolean(KEY_CHECK_PRICING_WITH_CARRIER_FOR_DATA_ROAMING_BOOL, false);
|
||||||
|
sDefaults.putBoolean(KEY_SHOW_DATA_CONNECTED_ROAMING_NOTIFICATION_BOOL, false);
|
||||||
sDefaults.putIntArray(KEY_LTE_RSRP_THRESHOLDS_INT_ARRAY,
|
sDefaults.putIntArray(KEY_LTE_RSRP_THRESHOLDS_INT_ARRAY,
|
||||||
new int[] {
|
new int[] {
|
||||||
-128, /* SIGNAL_STRENGTH_POOR */
|
-128, /* SIGNAL_STRENGTH_POOR */
|
||||||
|
|||||||
Reference in New Issue
Block a user