diff options
-rw-r--r-- | api/system-current.txt | 4 | ||||
-rw-r--r-- | telephony/java/android/telephony/CarrierConfigManager.java | 36 |
2 files changed, 40 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index 6f9238e..1e824d5 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -30755,6 +30755,10 @@ package android.telephony { field public static final java.lang.String BOOL_CARRIER_VOLTE_TTY_SUPPORTED = "bool_carrier_volte_tty_supported"; field public static final java.lang.String BOOL_SHOW_APN_SETTING_CDMA = "bool_show_apn_setting_cdma"; field public static final java.lang.String INT_VOLTE_REPLACEMENT_RAT = "int_volte_replacement_rat"; + field public static final java.lang.String SHORT_VVM_PORT_NUMBER = "string_vvm_port_number"; + field public static final java.lang.String STRING_VVM_DESTINATION_NUMBER = "string_vvm_destination_number"; + field public static final java.lang.String STRING_VVM_TYPE = "string_vvm_type"; + field public static final java.lang.String VVM_TYPE_OMTP = "vvm_type_omtp"; } public final class CellIdentityCdma implements android.os.Parcelable { diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index 004398e..b6f6888 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -73,6 +73,42 @@ public class CarrierConfigManager { */ public static final String INT_VOLTE_REPLACEMENT_RAT = "int_volte_replacement_rat"; + /* The following 3 fields are related to carrier visual voicemail. */ + + /** + * The carrier number MO sms messages are sent to. + * + * @hide + */ + @SystemApi + public static final String STRING_VVM_DESTINATION_NUMBER = "string_vvm_destination_number"; + + /** + * The port through which the MO sms messages are sent through. + * + * @hide + */ + @SystemApi + public static final String SHORT_VVM_PORT_NUMBER = "string_vvm_port_number"; + + /** + * The type of visual voicemail protocol the carrier adheres to (see below). + * + * @hide + */ + @SystemApi + public static final String STRING_VVM_TYPE = "string_vvm_type"; + + /* Visual voicemail protocols */ + + /** + * The OMTP protocol. + * + * @hide + */ + @SystemApi + public static final String VVM_TYPE_OMTP = "vvm_type_omtp"; + private final static String TAG = "CarrierConfigManager"; /** The default value for every variable. */ |