Extracts heads-up/pulsing logic from NotificationEntryManager.
This change introduces the NotificationInterruptionStateProvider component, which contains all the logic around whether a notification should heads-up or pulse previously contained in NotificationEntryManager. We also introduce the NotificationFilter component which extracts logic about when to filter notifications from NotificationData, in order to break a circular dependency that would otherwise be introduced. As part of this, some additional fields from the notification ranking map are denormalized on to the NotificationData.Entry object. Test: atest SystemUITests, manually Change-Id: Ic61edca966a3c3e0b01f1a6a9e7ce79c8701da4e
Loading
Please register or sign in to comment