diff options
| author | 2023-11-08 11:01:32 +0100 | |
|---|---|---|
| committer | 2023-11-13 13:00:58 +0100 | |
| commit | 965ff2d3c5487f72a77f6153ed8542cb2621d93c (patch) | |
| tree | 921bd3ec8749218a3d11bf38533edc0ea8e1d900 /libs/androidfw/AttributeResolution.cpp | |
| parent | f8e2f788cbd04cbfa0ba6ce04e189ce924bf30d4 (diff) | |
Enforce persisted snoozed notifications limits
Prevent DoS attack that causes boot-looping by serializing a huge amount of snoozed notifications:
- Check snooze limits for persisted notifications
- Remove persisted group summary notification when in-memory counterpart is removed
- Prevent unpriviledged API calls that allow 3P apps to snooze notifications with context/criterion
Test: atest SnoozeHelperTest
Test: atest NotificationManagerServiceTest
Bug: 307948424
Change-Id: I3571fa9207b778def652130d3ca840183a9a8414
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions