Skip to content
Commit 13f9bc83 authored by Mady Mellor's avatar Mady Mellor
Browse files

Make bubble flag removals from notification delegate (sysui) sticky

Have a bit on NotificationRecord that indicates whether the bubble
has been user dismissed (i.e. notif active without FLAG_BUBBLE).

Checking this bit prevents the flag from being clobbered on subsequent
ranking updates.

Adds tests for the extractor applying the flag correctly based on this bit
and tests for ensuring the record state is set correctly in response to
onNotificationBubbleChanged & updates

Test: atest BubbleExtractorTest NotificationManagerServiceTest
Fixes: 152262407
Change-Id: I4bda79bd04f2d08fa3a3849f45d33d899f4c7fde
parent 6dc855e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment