diff options
author | Mady Mellor <madym@google.com> | 2020-03-24 19:09:28 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2020-03-26 15:20:06 -0700 |
commit | 13f9bc83f93b014dd5c634731a20cacac3241883 (patch) | |
tree | 8c0e51cd5ec1fab81e7d296a9e854f00d83e92cd /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6dc855e10b35c65c252a8e12becffff83b34d2b1 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions