diff options
author | Daniel Sandler <dsandler@android.com> | 2013-02-12 08:14:52 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2013-02-12 14:33:24 -0500 |
commit | 78d0d25dca42fcde5dcea98ab74bfc7f5c8e1114 (patch) | |
tree | 5f4c34562b2e6e632a418d3f4a65dce1b63b97d5 /core/java/android/app | |
parent | bde3104ddce09d03255ff481dfb13bc9e67119e8 (diff) | |
download | frameworks_base-78d0d25dca42fcde5dcea98ab74bfc7f5c8e1114.zip frameworks_base-78d0d25dca42fcde5dcea98ab74bfc7f5c8e1114.tar.gz frameworks_base-78d0d25dca42fcde5dcea98ab74bfc7f5c8e1114.tar.bz2 |
Historical notification access API.
Similar to getActiveNotifications(),
getHistoricalNotifications() returns a list of all
notifications that have been posted, in
reverse-chronological order. It currently includes duplicate
entries for notifications that have been updated (so it
really is tracking every notification that has been posted
to the system).
Change-Id: Icce8d6f96bbe76710c989fd0068ff971c6498605
Diffstat (limited to 'core/java/android/app')
-rw-r--r-- | core/java/android/app/INotificationManager.aidl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/app/INotificationManager.aidl b/core/java/android/app/INotificationManager.aidl index bb10f62..1f4c81d 100644 --- a/core/java/android/app/INotificationManager.aidl +++ b/core/java/android/app/INotificationManager.aidl @@ -38,5 +38,6 @@ interface INotificationManager boolean areNotificationsEnabledForPackage(String pkg, int uid); StatusBarNotification[] getActiveNotifications(String callingPkg); + StatusBarNotification[] getHistoricalNotifications(String callingPkg, int count); } |