Add support for showing forwarded number in call screen.
This commit adds some changes to: -add EXTRAS_FORWARDED_NUMBER to store forwarded number notified by ims call. -add KEY_SHOW_FORWARDED_NUMBER_BOOL for specifying whether to show forwarded number on call-in-progress screen. Test: manual - Confirmed that it stores forwarded number in EXTRAS_FORWARDED_NUMBER. Test: auto - Passed FrameworksTelephonyTests Bug: 29063067 Change-Id: I5c6e867fef8871a8d0c6a286b1b82c5321a12c41
This commit is contained in:
committed by
Jayachandran C
parent
69bfed8d60
commit
5ee4589deb
@@ -46086,6 +46086,7 @@ package android.telephony {
|
||||
field public static final String KEY_SHOW_CALL_BLOCKING_DISABLED_NOTIFICATION_ALWAYS_BOOL = "show_call_blocking_disabled_notification_always_bool";
|
||||
field public static final String KEY_SHOW_CARRIER_DATA_ICON_PATTERN_STRING = "show_carrier_data_icon_pattern_string";
|
||||
field public static final String KEY_SHOW_CDMA_CHOICES_BOOL = "show_cdma_choices_bool";
|
||||
field public static final String KEY_SHOW_FORWARDED_NUMBER_BOOL = "show_forwarded_number_bool";
|
||||
field public static final String KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL = "show_iccid_in_sim_status_bool";
|
||||
field public static final String KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL = "show_ims_registration_status_bool";
|
||||
field public static final String KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL = "show_onscreen_dial_button_bool";
|
||||
|
||||
@@ -12577,6 +12577,7 @@ package android.telephony.ims {
|
||||
field public static final String EXTRA_DIALSTRING = "dialstring";
|
||||
field public static final String EXTRA_DISPLAY_TEXT = "DisplayText";
|
||||
field public static final String EXTRA_EMERGENCY_CALL = "e_call";
|
||||
field public static final String EXTRA_FORWARDED_NUMBER = "android.telephony.ims.extra.FORWARDED_NUMBER";
|
||||
field public static final String EXTRA_IS_CALL_PULL = "CallPull";
|
||||
field public static final String EXTRA_OI = "oi";
|
||||
field public static final String EXTRA_OIR = "oir";
|
||||
|
||||
@@ -3476,6 +3476,7 @@ package android.telephony.ims {
|
||||
field public static final String EXTRA_DIALSTRING = "dialstring";
|
||||
field public static final String EXTRA_DISPLAY_TEXT = "DisplayText";
|
||||
field public static final String EXTRA_EMERGENCY_CALL = "e_call";
|
||||
field public static final String EXTRA_FORWARDED_NUMBER = "android.telephony.ims.extra.FORWARDED_NUMBER";
|
||||
field public static final String EXTRA_IS_CALL_PULL = "CallPull";
|
||||
field public static final String EXTRA_OEM_EXTRAS = "android.telephony.ims.extra.OEM_EXTRAS";
|
||||
field public static final String EXTRA_OI = "oi";
|
||||
|
||||
@@ -3419,6 +3419,14 @@ public class CarrierConfigManager {
|
||||
public static final String KEY_PREVENT_CLIR_ACTIVATION_AND_DEACTIVATION_CODE_BOOL =
|
||||
"prevent_clir_activation_and_deactivation_code_bool";
|
||||
|
||||
/**
|
||||
* Flag specifying whether to show forwarded number on call-in-progress screen.
|
||||
* When true, forwarded number is shown.
|
||||
* When false, forwarded number is not shown.
|
||||
*/
|
||||
public static final String KEY_SHOW_FORWARDED_NUMBER_BOOL =
|
||||
"show_forwarded_number_bool";
|
||||
|
||||
/**
|
||||
* Configs used for epdg tunnel bring up.
|
||||
*
|
||||
@@ -4273,6 +4281,7 @@ public class CarrierConfigManager {
|
||||
// Default wifi configurations.
|
||||
sDefaults.putAll(Wifi.getDefaults());
|
||||
sDefaults.putBoolean(ENABLE_EAP_METHOD_PREFIX_BOOL, false);
|
||||
sDefaults.putBoolean(KEY_SHOW_FORWARDED_NUMBER_BOOL, false);
|
||||
sDefaults.putAll(Iwlan.getDefaults());
|
||||
}
|
||||
|
||||
|
||||
@@ -328,6 +328,14 @@ public final class ImsCallProfile implements Parcelable {
|
||||
@Deprecated
|
||||
public static final String EXTRA_CALL_RAT_TYPE_ALT = "callRadioTech";
|
||||
|
||||
/**
|
||||
* String extra property containing forwarded numbers associated with the current connection
|
||||
* for an IMS call. The value is string array, and it can include multiple numbers, and
|
||||
* the array values are expected E164 (e.g. +1 (650) 253-0000) format.
|
||||
*/
|
||||
public static final String EXTRA_FORWARDED_NUMBER =
|
||||
"android.telephony.ims.extra.FORWARDED_NUMBER";
|
||||
|
||||
/** @hide */
|
||||
public int mServiceType;
|
||||
/** @hide */
|
||||
|
||||
Reference in New Issue
Block a user