From 78d0d25dca42fcde5dcea98ab74bfc7f5c8e1114 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 12 Feb 2013 08:14:52 -0500 Subject: 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 --- core/java/android/app/INotificationManager.aidl | 1 + 1 file changed, 1 insertion(+) (limited to 'core/java/android/app') 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); } -- cgit v1.1