Notification removal with overflow bubbles
Intercept dismissal for overflow bubbles.
Remove notifications for inactive (not in stack and overflow)
bubbles cancelled or suppressed from shade.
Set "isBubble" SysUI flag
- false for inactive bubbles still in shade,
- true for bubbles promoted from overflow.
Account for overflow bubbles in event handling
- onEntryUpdated: remove overflow bubble if no longer a bubble
- onRankingUpdated: remove overflow bubble if blocked
- expandStackAndSelectBubble: promote overflow bubble then expand
- isBubbleNotificationSuppressedFromShade: check overflow bubbles
Update tests
Enable overflow flag
----------------
Fixes: 151104690
Test: manual: cancel oldest bubble => oldest overflow bubble removed
Test: atest SystemUITests
Change-Id: I44bb623f99f9473055787cf10693f7a3bfd1c768
7 files changed