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

Commit 9092b6d5 authored by Debashish Chatterjee's avatar Debashish Chatterjee Committed by Android (Google) Code Review
Browse files

Merge "Added FETCH_VOICEMAIL intent definition in VoicemailContract."

parents f43f4e1a 267a2ec0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17269,6 +17269,7 @@ package android.provider {
  }
  public class VoicemailContract {
    field public static final java.lang.String ACTION_FETCH_VOICEMAIL = "android.intent.action.FETCH_VOICEMAIL";
    field public static final java.lang.String ACTION_NEW_VOICEMAIL = "android.intent.action.NEW_VOICEMAIL";
    field public static final java.lang.String AUTHORITY = "com.android.voicemail";
    field public static final java.lang.String EXTRA_SELF_CHANGE = "com.android.voicemail.extra.SELF_CHANGE";
+12 −0
Original line number Diff line number Diff line
@@ -78,6 +78,18 @@ public class VoicemailContract {
    /** Broadcast intent when a new voicemail record is inserted. */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_NEW_VOICEMAIL = "android.intent.action.NEW_VOICEMAIL";

    /**
     * Broadcast intent to request a voicemail source to fetch voicemail content of a specific
     * voicemail from the remote server. The voicemail to fetch is specified by the data uri
     * of the intent.
     * <p>
     * All voicemail sources are expected to handle this event. After storing the content
     * the application should also set {@link Voicemails#HAS_CONTENT} to 1;
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_FETCH_VOICEMAIL = "android.intent.action.FETCH_VOICEMAIL";

    /**
     * Extra included in {@link Intent#ACTION_PROVIDER_CHANGED} broadcast intents to indicate if the
     * receiving package made this change.