Merge "Mainline Network Policy constants public"

This commit is contained in:
Treehugger Robot
2019-12-17 18:59:04 +00:00
committed by Gerrit Code Review
2 changed files with 12 additions and 14 deletions

View File

@@ -44129,6 +44129,7 @@ package android.telephony {
method public void notifyConfigChangedForSubId(int); method public void notifyConfigChangedForSubId(int);
field public static final String ACTION_CARRIER_CONFIG_CHANGED = "android.telephony.action.CARRIER_CONFIG_CHANGED"; field public static final String ACTION_CARRIER_CONFIG_CHANGED = "android.telephony.action.CARRIER_CONFIG_CHANGED";
field public static final int DATA_CYCLE_THRESHOLD_DISABLED = -2; // 0xfffffffe field public static final int DATA_CYCLE_THRESHOLD_DISABLED = -2; // 0xfffffffe
field public static final int DATA_CYCLE_USE_PLATFORM_DEFAULT = -1; // 0xffffffff
field public static final String EXTRA_SLOT_INDEX = "android.telephony.extra.SLOT_INDEX"; field public static final String EXTRA_SLOT_INDEX = "android.telephony.extra.SLOT_INDEX";
field public static final String EXTRA_SUBSCRIPTION_INDEX = "android.telephony.extra.SUBSCRIPTION_INDEX"; field public static final String EXTRA_SUBSCRIPTION_INDEX = "android.telephony.extra.SUBSCRIPTION_INDEX";
field public static final String KEY_5G_NR_SSRSRP_THRESHOLDS_INT_ARRAY = "5g_nr_ssrsrp_thresholds_int_array"; field public static final String KEY_5G_NR_SSRSRP_THRESHOLDS_INT_ARRAY = "5g_nr_ssrsrp_thresholds_int_array";
@@ -44192,7 +44193,10 @@ package android.telephony {
field public static final String KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING = "config_plans_package_override_string"; field public static final String KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING = "config_plans_package_override_string";
field public static final String KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL = "config_telephony_use_own_number_for_voicemail_bool"; field public static final String KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL = "config_telephony_use_own_number_for_voicemail_bool";
field public static final String KEY_CSP_ENABLED_BOOL = "csp_enabled_bool"; field public static final String KEY_CSP_ENABLED_BOOL = "csp_enabled_bool";
field public static final String KEY_DATA_LIMIT_NOTIFICATION_BOOL = "data_limit_notification_bool";
field public static final String KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG = "data_limit_threshold_bytes_long"; field public static final String KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG = "data_limit_threshold_bytes_long";
field public static final String KEY_DATA_RAPID_NOTIFICATION_BOOL = "data_rapid_notification_bool";
field public static final String KEY_DATA_WARNING_NOTIFICATION_BOOL = "data_warning_notification_bool";
field public static final String KEY_DATA_WARNING_THRESHOLD_BYTES_LONG = "data_warning_threshold_bytes_long"; field public static final String KEY_DATA_WARNING_THRESHOLD_BYTES_LONG = "data_warning_threshold_bytes_long";
field public static final String KEY_DEFAULT_SIM_CALL_MANAGER_STRING = "default_sim_call_manager_string"; field public static final String KEY_DEFAULT_SIM_CALL_MANAGER_STRING = "default_sim_call_manager_string";
field public static final String KEY_DEFAULT_VM_NUMBER_ROAMING_AND_IMS_UNREGISTERED_STRING = "default_vm_number_roaming_and_ims_unregistered_string"; field public static final String KEY_DEFAULT_VM_NUMBER_ROAMING_AND_IMS_UNREGISTERED_STRING = "default_vm_number_roaming_and_ims_unregistered_string";

View File

@@ -2192,7 +2192,7 @@ public class CarrierConfigManager {
* the start of the next month. * the start of the next month.
* <p> * <p>
* This setting may be still overridden by explicit user choice. By default, * This setting may be still overridden by explicit user choice. By default,
* the platform value will be used. * {@link #DATA_CYCLE_USE_PLATFORM_DEFAULT} will be used.
*/ */
public static final String KEY_MONTHLY_DATA_CYCLE_DAY_INT = public static final String KEY_MONTHLY_DATA_CYCLE_DAY_INT =
"monthly_data_cycle_day_int"; "monthly_data_cycle_day_int";
@@ -2201,10 +2201,7 @@ public class CarrierConfigManager {
* When {@link #KEY_MONTHLY_DATA_CYCLE_DAY_INT}, {@link #KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG}, * When {@link #KEY_MONTHLY_DATA_CYCLE_DAY_INT}, {@link #KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG},
* or {@link #KEY_DATA_WARNING_THRESHOLD_BYTES_LONG} are set to this value, the platform default * or {@link #KEY_DATA_WARNING_THRESHOLD_BYTES_LONG} are set to this value, the platform default
* value will be used for that key. * value will be used for that key.
*
* @hide
*/ */
@Deprecated
public static final int DATA_CYCLE_USE_PLATFORM_DEFAULT = -1; public static final int DATA_CYCLE_USE_PLATFORM_DEFAULT = -1;
/** /**
@@ -2228,8 +2225,8 @@ public class CarrierConfigManager {
* If the value is set to {@link #DATA_CYCLE_THRESHOLD_DISABLED}, the data usage warning will * If the value is set to {@link #DATA_CYCLE_THRESHOLD_DISABLED}, the data usage warning will
* be disabled. * be disabled.
* <p> * <p>
* This setting may be overridden by explicit user choice. By default, the platform value * This setting may be overridden by explicit user choice. By default,
* will be used. * {@link #DATA_CYCLE_USE_PLATFORM_DEFAULT} will be used.
*/ */
public static final String KEY_DATA_WARNING_THRESHOLD_BYTES_LONG = public static final String KEY_DATA_WARNING_THRESHOLD_BYTES_LONG =
"data_warning_threshold_bytes_long"; "data_warning_threshold_bytes_long";
@@ -2237,8 +2234,7 @@ public class CarrierConfigManager {
/** /**
* Controls if the device should automatically notify the user as they reach * Controls if the device should automatically notify the user as they reach
* their cellular data warning. When set to {@code false} the carrier is * their cellular data warning. When set to {@code false} the carrier is
* expected to have implemented their own notification mechanism. * expected to have implemented their own notification mechanism. {@code true} by default.
* @hide
*/ */
public static final String KEY_DATA_WARNING_NOTIFICATION_BOOL = public static final String KEY_DATA_WARNING_NOTIFICATION_BOOL =
"data_warning_notification_bool"; "data_warning_notification_bool";
@@ -2260,8 +2256,8 @@ public class CarrierConfigManager {
* phone. If the value is set to {@link #DATA_CYCLE_THRESHOLD_DISABLED}, the data limit will be * phone. If the value is set to {@link #DATA_CYCLE_THRESHOLD_DISABLED}, the data limit will be
* disabled. * disabled.
* <p> * <p>
* This setting may be overridden by explicit user choice. By default, the platform value * This setting may be overridden by explicit user choice. By default,
* will be used. * {@link #DATA_CYCLE_USE_PLATFORM_DEFAULT} will be used.
*/ */
public static final String KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG = public static final String KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG =
"data_limit_threshold_bytes_long"; "data_limit_threshold_bytes_long";
@@ -2269,8 +2265,7 @@ public class CarrierConfigManager {
/** /**
* Controls if the device should automatically notify the user as they reach * Controls if the device should automatically notify the user as they reach
* their cellular data limit. When set to {@code false} the carrier is * their cellular data limit. When set to {@code false} the carrier is
* expected to have implemented their own notification mechanism. * expected to have implemented their own notification mechanism. {@code true} by default.
* @hide
*/ */
public static final String KEY_DATA_LIMIT_NOTIFICATION_BOOL = public static final String KEY_DATA_LIMIT_NOTIFICATION_BOOL =
"data_limit_notification_bool"; "data_limit_notification_bool";
@@ -2278,8 +2273,7 @@ public class CarrierConfigManager {
/** /**
* Controls if the device should automatically notify the user when rapid * Controls if the device should automatically notify the user when rapid
* cellular data usage is observed. When set to {@code false} the carrier is * cellular data usage is observed. When set to {@code false} the carrier is
* expected to have implemented their own notification mechanism. * expected to have implemented their own notification mechanism. {@code true} by default.
* @hide
*/ */
public static final String KEY_DATA_RAPID_NOTIFICATION_BOOL = public static final String KEY_DATA_RAPID_NOTIFICATION_BOOL =
"data_rapid_notification_bool"; "data_rapid_notification_bool";