Let NoMan know when something is no longer a bubble
This is needed for some of the notification group summary stuff to work. More importantly, this is needed so that we can properly report to apps if their notification is bubbled or not, e.g. if the user dismisses the bubble & the notification is in the shade, that shouldn't be reported as 'FLAG_BUBBLE' as that notification is not actually being shown as a bubble. * Adds onBubbleNotificationChanged to NotificationDelegate to pipe through changes in bubble state, currently we only ever change it to 'false' but this CL includes ability to flip it to 'true' (and also checks if the notif should actually be able to bubble) * Factors code that indicates something is approved to bubble into own method * Adds way to set BubbleMetadata on a notification (hidden !!) Bug: 130250809 Test: atest NotificationManagerServiceTest Change-Id: I8df4cc1231ed5d078ce4d50a70d2631f82fd2306
Loading
Please register or sign in to comment