Class android.service.notification.NotificationListenerService

Added Methods
List<NotificationChannelGroup> getNotificationChannelGroups(String, UserHandle)  
List<NotificationChannel> getNotificationChannels(String, UserHandle)  
StatusBarNotification[] getSnoozedNotifications()  
void onNotificationChannelGroupModified(String, UserHandle, NotificationChannelGroup, int)  
void onNotificationChannelModified(String, UserHandle, NotificationChannel, int)  
void onNotificationRemoved(StatusBarNotification, RankingMap, int)  
void snoozeNotification(String, long)  
void updateNotificationChannel(String, UserHandle, NotificationChannel)  
 

Added Fields
int NOTIFICATION_CHANNEL_OR_GROUP_ADDED  
int NOTIFICATION_CHANNEL_OR_GROUP_DELETED  
int NOTIFICATION_CHANNEL_OR_GROUP_UPDATED  
int REASON_APP_CANCEL  
int REASON_APP_CANCEL_ALL  
int REASON_CANCEL  
int REASON_CANCEL_ALL  
int REASON_CHANNEL_BANNED  
int REASON_CLICK  
int REASON_ERROR  
int REASON_GROUP_OPTIMIZATION  
int REASON_GROUP_SUMMARY_CANCELED  
int REASON_LISTENER_CANCEL  
int REASON_LISTENER_CANCEL_ALL  
int REASON_PACKAGE_BANNED  
int REASON_PACKAGE_CHANGED  
int REASON_PACKAGE_SUSPENDED  
int REASON_PROFILE_TURNED_OFF  
int REASON_SNOOZED  
int REASON_TIMEOUT  
int REASON_UNAUTOBUNDLED  
int REASON_USER_STOPPED