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

Commit cff66336 authored by Adnan Begovic's avatar Adnan Begovic
Browse files

Add ACTION_NEW_OUTGOING_SMS

Change-Id: I498b2722c5bc9e465215bc2ac723d8cc251e6bb3
parent 13a7879f
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -2331,6 +2331,26 @@ public class Intent implements Parcelable, Cloneable {
    public static final String ACTION_NEW_OUTGOING_CALL =
            "android.intent.action.NEW_OUTGOING_CALL";


    /**
     * Broadcast Action: An outgoing sms is about to be sent.
     *
     * The Intent will have the following extras:
     * destAddr - the phone number originally intended to be dialled
     * scAddr - the service center address
     * multipart - indicate whether this is a multipart or single message
     * parts - ArrayList<String> of text parts (one item if multipart=false)
     * sentIntents - ArrayList<PendingIntent> to send on send
     * deliveryIntents - ArrayList<PendingIntent> to send on delivery
     *
     * Once the broadcast is finished, resultData is used as the actual
     * number to text.
     *
     * @hide
     */
    public static final String ACTION_NEW_OUTGOING_SMS =
            "android.intent.action.NEW_OUTGOING_SMS";

    /**
     * Broadcast Action: Have the device reboot.  This is only for use by
     * system code.