Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29872ec4 authored by Omata Shou's avatar Omata Shou Committed by takeshi tanigawa
Browse files

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
parent b09cf3fb
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -414,9 +414,12 @@ public class TelephonyManager {
     * Open the voicemail settings activity to make changes to voicemail configuration.
     *
     * <p>
     * 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.
     * <p class="note">
     * Retrieve with {@link android.content.Intent#getParcelableExtra(String)}.
     */