Added nr advanced calling settings support
- Added a telephony provider entry for storing the user's settings. - Added new vonr_enabled_bool config to determine whether VoNR should be enalbed for carrier Bug: 202150953 Test: manual Change-Id: Ie56a7de3fdb978353af77bafb55b0e37c22b58a4
This commit is contained in:
@@ -5366,5 +5366,13 @@ public final class Telephony {
|
|||||||
public static final String COLUMN_D2D_STATUS_SHARING_SELECTED_CONTACTS =
|
public static final String COLUMN_D2D_STATUS_SHARING_SELECTED_CONTACTS =
|
||||||
"d2d_sharing_contacts";
|
"d2d_sharing_contacts";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TelephonyProvider column name for NR Advanced calling
|
||||||
|
* Determines if the user has enabled VoNR settings for this subscription.
|
||||||
|
*
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String COLUMN_NR_ADVANCED_CALLING_ENABLED =
|
||||||
|
"nr_advanced_calling_enabled";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5226,6 +5226,16 @@ public class CarrierConfigManager {
|
|||||||
*/
|
*/
|
||||||
public static final String KEY_VONR_SETTING_VISIBILITY_BOOL = "vonr_setting_visibility_bool";
|
public static final String KEY_VONR_SETTING_VISIBILITY_BOOL = "vonr_setting_visibility_bool";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Flag specifying whether VoNR should be enabled for carrier.
|
||||||
|
* If true, VoNr will be enabled. If false, hard disabled.
|
||||||
|
*
|
||||||
|
* Disabled by default.
|
||||||
|
*
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String KEY_VONR_ENABLED_BOOL = "vonr_enabled_bool";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine whether unthrottle data retry when tracking area code (TAC/LAC) from cell changes
|
* Determine whether unthrottle data retry when tracking area code (TAC/LAC) from cell changes
|
||||||
*
|
*
|
||||||
@@ -5856,6 +5866,7 @@ public class CarrierConfigManager {
|
|||||||
sDefaults.putBoolean(KEY_DISPLAY_NO_DATA_NOTIFICATION_ON_PERMANENT_FAILURE_BOOL, false);
|
sDefaults.putBoolean(KEY_DISPLAY_NO_DATA_NOTIFICATION_ON_PERMANENT_FAILURE_BOOL, false);
|
||||||
sDefaults.putBoolean(KEY_UNTHROTTLE_DATA_RETRY_WHEN_TAC_CHANGES_BOOL, false);
|
sDefaults.putBoolean(KEY_UNTHROTTLE_DATA_RETRY_WHEN_TAC_CHANGES_BOOL, false);
|
||||||
sDefaults.putBoolean(KEY_VONR_SETTING_VISIBILITY_BOOL, false);
|
sDefaults.putBoolean(KEY_VONR_SETTING_VISIBILITY_BOOL, false);
|
||||||
|
sDefaults.putBoolean(KEY_VONR_ENABLED_BOOL, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -948,6 +948,15 @@ public class SubscriptionManager {
|
|||||||
*/
|
*/
|
||||||
public static final String VOIMS_OPT_IN_STATUS = SimInfo.COLUMN_VOIMS_OPT_IN_STATUS;
|
public static final String VOIMS_OPT_IN_STATUS = SimInfo.COLUMN_VOIMS_OPT_IN_STATUS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TelephonyProvider column name for NR Advanced calling
|
||||||
|
* Determines if the user has enabled VoNR settings for this subscription.
|
||||||
|
*
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String NR_ADVANCED_CALLING_ENABLED =
|
||||||
|
SimInfo.COLUMN_NR_ADVANCED_CALLING_ENABLED;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Profile class of the subscription
|
* Profile class of the subscription
|
||||||
* @hide
|
* @hide
|
||||||
|
|||||||
Reference in New Issue
Block a user