diff options
author | Koushik Dutta <koushd@gmail.com> | 2013-07-07 16:43:50 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2013-07-10 17:07:19 -0700 |
commit | f1ceb6749a50adc7ea19b91a3497e6f317bdd347 (patch) | |
tree | 09157cb3890f67d06f54d712f164fe07a0587261 | |
parent | 34b32f417964496d14d043368eac521159247ea7 (diff) | |
download | frameworks_base-f1ceb6749a50adc7ea19b91a3497e6f317bdd347.zip frameworks_base-f1ceb6749a50adc7ea19b91a3497e6f317bdd347.tar.gz frameworks_base-f1ceb6749a50adc7ea19b91a3497e6f317bdd347.tar.bz2 |
New Event: ACTION_NEW_OUTGOING_SMS
Change-Id: I8be01ad6251ca25e4d00ebffd876bb6ce7f3c283
-rw-r--r-- | core/java/android/content/Intent.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 519eb36..da254fd 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2293,6 +2293,25 @@ public class Intent implements Parcelable, Cloneable { "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. * |