diff options
| author | 2024-09-18 16:06:03 -0700 | |
|---|---|---|
| committer | 2024-09-18 16:08:13 -0700 | |
| commit | 1a399cda7570d2c1d0a5fc2ec2608cb9899dbfb6 (patch) | |
| tree | 42e0ddeffe6f477e3e736cb5f5dfd88153b84c1b /libs/androidfw/AttributeResolution.cpp | |
| parent | 1ce71c6e7dad4f94314cf696fa550511cd80ba7c (diff) | |
Fix bubble notifications not being removed when permission revoked
When the notification permission is revoked, we don't get a ranking
update, instead the notifications get canceled with reason package
banned. The notification permission was introduced post-bubbles so
this is something that got missed I think, usually removals come
via the ranking updates (e.g. notif channel is stopped or bubble
option on that channel is removed would cause a ranking update).
Fix for this is to allow onEntryRemovals for package banned to remove
a bubble.
Flag: EXEMPT bug fix
Test: manual - add some bubbles, revoke the notification permission,
observe that the bubbles are removed
Test: atest BubblesTest
Bug: 363118567
Change-Id: I51b3bb72429bfd6e04854c83c9f1c7d58d144bce
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions