diff options
author | Nancy Chen <nancychen@google.com> | 2015-04-09 13:17:20 -0700 |
---|---|---|
committer | Jonathan Basseri <misterikkit@google.com> | 2015-04-15 17:35:58 -0700 |
commit | 48903511b092feb7502f10f121bdf9b56f26395d (patch) | |
tree | d4bf490cff81ed7e7908f227d7c9aecfc0d31ce2 /telephony/java/android | |
parent | cd405fedea1671ca17b149b76b36aa1c57b600f9 (diff) | |
download | frameworks_base-48903511b092feb7502f10f121bdf9b56f26395d.zip frameworks_base-48903511b092feb7502f10f121bdf9b56f26395d.tar.gz frameworks_base-48903511b092feb7502f10f121bdf9b56f26395d.tar.bz2 |
Add keys for visual voicemail carrier configuration values
Each carrier has its own set of visual voicemail configuration values
to be retrieved from the carrier config manager API.
Bug:19236241
Change-Id: Ic1d59a13d2203c70aba178c315c47ec2661ea56e
Diffstat (limited to 'telephony/java/android')
-rw-r--r-- | telephony/java/android/telephony/CarrierConfigManager.java | 36 |
1 files changed, 36 insertions, 0 deletions
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. */ |