From 29872ec4a431731cd44f0fd775fc6f5ce04eebdb Mon Sep 17 00:00:00 2001 From: Omata Shou Date: Wed, 9 Aug 2017 20:52:26 +0900 Subject: [PATCH] Update javadocs for ACTION_CONFIGURE_VOICEMAIL PhoneAccountHandle is needed to change the voicemail configuration for multi-SIM devices. Test: Passed make build Bug: 65001008 Change-Id: Ia146bb08788ad0b0af33f123b0f410ae2f85f9e0 --- telephony/java/android/telephony/TelephonyManager.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index ab679ff69d11c..4520ea76c0622 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -414,9 +414,12 @@ public class TelephonyManager { * Open the voicemail settings activity to make changes to voicemail configuration. * *

+ * The {@link #EXTRA_PHONE_ACCOUNT_HANDLE} extra indicates which {@link PhoneAccountHandle} to + * configure voicemail. * The {@link #EXTRA_HIDE_PUBLIC_SETTINGS} hides settings the dialer will modify through public * API if set. * + * @see #EXTRA_PHONE_ACCOUNT_HANDLE * @see #EXTRA_HIDE_PUBLIC_SETTINGS */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) @@ -778,8 +781,9 @@ public class TelephonyManager { "android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION"; /** - * The extra used with an {@link #ACTION_SHOW_VOICEMAIL_NOTIFICATION} {@code Intent} to specify - * the {@link PhoneAccountHandle} the notification is for. + * The extra used with an {@link #ACTION_CONFIGURE_VOICEMAIL} and + * {@link #ACTION_SHOW_VOICEMAIL_NOTIFICATION} {@code Intent} to specify the + * {@link PhoneAccountHandle} the configuration or notification is for. *

* Retrieve with {@link android.content.Intent#getParcelableExtra(String)}. */