diff options
author | John Spurlock <jspurlock@google.com> | 2014-03-24 18:02:32 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-03-28 08:47:01 -0400 |
commit | a4294297d46cc0b9f45897bc688c267502cce3ef (patch) | |
tree | 72f74c582f814c1a587f1949a4f50949962d1e5f /api | |
parent | ba6ae57f64e09fd9240640b6a0dd538e5f349bf1 (diff) | |
download | frameworks_base-a4294297d46cc0b9f45897bc688c267502cce3ef.zip frameworks_base-a4294297d46cc0b9f45897bc688c267502cce3ef.tar.gz frameworks_base-a4294297d46cc0b9f45897bc688c267502cce3ef.tar.bz2 |
Enhance the NotificationListenerService api.
Add to NotificationListenerService:
- getActiveNotificationKeys() : String[]
- getActiveNotifications(String[] keys) : StatusBarNotification[]
- cancelNotifications(String[] keys) : void
- onListenerConnected(String[] keys) : void
Add to StatusBarNotification:
- getKey() : String
Bug:13562828
Change-Id: Idd9605dad8f942d68b4b32ab9625faf6c8642db9
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index faeab39..190397b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -24317,8 +24317,12 @@ package android.service.notification { ctor public NotificationListenerService(); method public final void cancelAllNotifications(); method public final void cancelNotification(java.lang.String, java.lang.String, int); + method public final void cancelNotifications(java.lang.String[]); + method public java.lang.String[] getActiveNotificationKeys(); method public android.service.notification.StatusBarNotification[] getActiveNotifications(); + method public android.service.notification.StatusBarNotification[] getActiveNotifications(java.lang.String[]); method public android.os.IBinder onBind(android.content.Intent); + method public void onListenerConnected(java.lang.String[]); method public abstract void onNotificationPosted(android.service.notification.StatusBarNotification); method public abstract void onNotificationRemoved(android.service.notification.StatusBarNotification); field public static final java.lang.String SERVICE_INTERFACE = "android.service.notification.NotificationListenerService"; @@ -24330,6 +24334,7 @@ package android.service.notification { method public android.service.notification.StatusBarNotification clone(); method public int describeContents(); method public int getId(); + method public java.lang.String getKey(); method public android.app.Notification getNotification(); method public java.lang.String getPackageName(); method public long getPostTime(); |