Merge "Add Applicability Language to Usage Settings" into tm-dev

This commit is contained in:
Nathan Harold
2022-03-29 01:36:12 +00:00
committed by Android (Google) Code Review
2 changed files with 12 additions and 0 deletions

View File

@@ -4754,10 +4754,14 @@ public class CarrierConfigManager {
* Either omit this key or pass a value of
* {@link SubscriptionManager#USAGE_SETTING_UNKNOWN unknown} to preserve the current setting.
*
* <p>Devices that support configuration of the cellular usage setting, including devices
* with HAL capability to set the cellular usage setting, must honor this setting accordingly.
*
* {@link SubscriptionManager#USAGE_SETTING_DEFAULT default},
* {@link SubscriptionManager#USAGE_SETTING_VOICE_CENTRIC voice-centric},
* or {@link SubscriptionManager#USAGE_SETTING_DATA_CENTRIC data-centric}.
* {@see SubscriptionInfo#getUsageSetting}
*
*/
public static final String KEY_CELLULAR_USAGE_SETTING_INT =
"cellular_usage_setting_int";

View File

@@ -1085,6 +1085,10 @@ public class SubscriptionManager {
* <p>Refer to voice-centric mode in 3gpp 24.301 sec 4.3 and 3gpp 24.501 sec 4.3.
* Also refer to "UE's usage setting" as defined in 3gpp 24.301 section 3.1 and 3gpp 23.221
* Annex A.
*
* <p>Devices that support {@link PackageManager#FEATURE_TELEPHONY_CALLING} and support usage
* setting configuration must support setting this value via
* {@link CarrierConfigManager#KEY_CELLULAR_USAGE_SETTING_INT}.
*/
public static final int USAGE_SETTING_VOICE_CENTRIC = 1;
@@ -1094,6 +1098,10 @@ public class SubscriptionManager {
* <p>Refer to data-centric mode in 3gpp 24.301 sec 4.3 and 3gpp 24.501 sec 4.3.
* Also refer to "UE's usage setting" as defined in 3gpp 24.301 section 3.1 and 3gpp 23.221
* Annex A.
*
* <p>Devices that support {@link PackageManager#FEATURE_TELEPHONY_DATA} and support usage
* setting configuration must support setting this value via.
* {@link CarrierConfigManager#KEY_CELLULAR_USAGE_SETTING_INT}.
*/
public static final int USAGE_SETTING_DATA_CENTRIC = 2;