summaryrefslogtreecommitdiffstats
path: root/telephony/java/android
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2015-06-23 14:17:48 -0700
committerNancy Chen <nancychen@google.com>2015-06-23 14:17:48 -0700
commita51765ed6d495dec81009371a7c13e2c9efd5609 (patch)
tree25797f0cc156d341ce86ee41838bc81ff233460e /telephony/java/android
parenta2c159fede892a54b9b98e681c6a3053ab4dbf31 (diff)
downloadframeworks_base-a51765ed6d495dec81009371a7c13e2c9efd5609.zip
frameworks_base-a51765ed6d495dec81009371a7c13e2c9efd5609.tar.gz
frameworks_base-a51765ed6d495dec81009371a7c13e2c9efd5609.tar.bz2
Add public action to open voicemail settings.
Need public api constant to create an intent to open voicemail settings. This is used for visual voicemail. Bug: 21086059 Change-Id: I1a11712ead2941d5322cde6be6c3f41652bc36d8
Diffstat (limited to 'telephony/java/android')
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index cec11cf..a2bd74b 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -274,6 +274,13 @@ public class TelephonyManager {
"android.telephony.action.EMERGENCY_ASSISTANCE";
/**
+ * Open the voicemail settings activity to make changes to voicemail configuration.
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_CONFIGURE_VOICEMAIL =
+ "android.telephony.action.CONFIGURE_VOICEMAIL";
+
+ /**
* @hide
*/
public static final boolean EMERGENCY_ASSISTANCE_ENABLED = false;