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

Commit f1ceb674 authored by Koushik Dutta's avatar Koushik Dutta
Browse files

New Event: ACTION_NEW_OUTGOING_SMS

Change-Id: I8be01ad6251ca25e4d00ebffd876bb6ce7f3c283
parent 34b32f41
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -2292,6 +2292,25 @@ 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.