diff options
author | Griff Hazen <griff@google.com> | 2014-05-15 22:26:18 -0700 |
---|---|---|
committer | Griff Hazen <griff@google.com> | 2014-05-15 22:26:18 -0700 |
commit | 959591e3ba3934f5bd8ecc2c81ad2a16d226acab (patch) | |
tree | d09ec33315e4df8f943018c7a639eb5e6399d155 /api | |
parent | 0ade263c28ea62e619972752ef2e6a6c994eeddf (diff) | |
download | frameworks_base-959591e3ba3934f5bd8ecc2c81ad2a16d226acab.zip frameworks_base-959591e3ba3934f5bd8ecc2c81ad2a16d226acab.tar.gz frameworks_base-959591e3ba3934f5bd8ecc2c81ad2a16d226acab.tar.bz2 |
Add support for extendable actions to Notification.
Change-Id: I2945a6994a28fc454af3f84e75c96d7619547f01
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 5f701ca..0de2394 100644 --- a/api/current.txt +++ b/api/current.txt @@ -3984,6 +3984,7 @@ package android.app { ctor public Notification.Action(int, java.lang.CharSequence, android.app.PendingIntent); method public android.app.Notification.Action clone(); method public int describeContents(); + method public android.os.Bundle getExtras(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public android.app.PendingIntent actionIntent; @@ -3991,6 +3992,14 @@ package android.app { field public java.lang.CharSequence title; } + public static class Notification.Action.Builder { + ctor public Notification.Action.Builder(int, java.lang.CharSequence, android.app.PendingIntent); + ctor public Notification.Action.Builder(android.app.Notification.Action); + method public android.app.Notification.Action.Builder addExtras(android.os.Bundle); + method public android.app.Notification.Action build(); + method public android.os.Bundle getExtras(); + } + public static class Notification.BigPictureStyle extends android.app.Notification.Style { ctor public Notification.BigPictureStyle(); ctor public Notification.BigPictureStyle(android.app.Notification.Builder); @@ -4011,6 +4020,7 @@ package android.app { public static class Notification.Builder { ctor public Notification.Builder(android.content.Context); method public android.app.Notification.Builder addAction(int, java.lang.CharSequence, android.app.PendingIntent); + method public android.app.Notification.Builder addAction(android.app.Notification.Action); method public android.app.Notification.Builder addExtras(android.os.Bundle); method public android.app.Notification build(); method public android.os.Bundle getExtras(); |