Merge "Call waiting support USSD function" am: 7d07fce12b am: cf85599687

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1667001

Change-Id: If75cc1d84d69e7cf3c38fe0fcbfa1e2d21a1661d
This commit is contained in:
SongFerng Wang 2021-04-12 04:18:12 +00:00 committed by Automerger Merge Worker
commit c85f675035

View File

@ -3221,6 +3221,14 @@ public class CarrierConfigManager {
*/
public static final String KEY_USE_CALLER_ID_USSD_BOOL = "use_caller_id_ussd_bool";
/**
* Call waiting uses USSD command without SS command.
* When {@code true}, the call waiting query/set by ussd command.
* When {@code false}, doesn't use USSD to query/set call waiting.
* @hide
*/
public static final String KEY_USE_CALL_WAITING_USSD_BOOL = "use_call_waiting_ussd_bool";
/**
* Specifies the service class for call waiting service.
* Default value is
@ -4820,6 +4828,7 @@ public class CarrierConfigManager {
sDefaults.putBoolean(KEY_SUPPORT_EMERGENCY_DIALER_SHORTCUT_BOOL, true);
sDefaults.putBoolean(KEY_USE_CALL_FORWARDING_USSD_BOOL, false);
sDefaults.putBoolean(KEY_USE_CALLER_ID_USSD_BOOL, false);
sDefaults.putBoolean(KEY_USE_CALL_WAITING_USSD_BOOL, false);
sDefaults.putInt(KEY_CALL_WAITING_SERVICE_CLASS_INT, 1 /* SERVICE_CLASS_VOICE */);
sDefaults.putString(KEY_5G_ICON_CONFIGURATION_STRING,
"connected_mmwave:5G,connected:5G,not_restricted_rrc_idle:5G,"