diff options
| author | 2023-11-08 11:01:32 +0100 | |
|---|---|---|
| committer | 2023-11-29 14:09:30 +0000 | |
| commit | 87c11b6df3d6ba696a8978a01ef5d66aeab45c8f (patch) | |
| tree | 310b66376c3ecac643aa57a6716945ab66fb28f0 /libs/androidfw/FileStream.cpp | |
| parent | 1d28c47216f832291c5ddccb6ed33c9a596932c8 (diff) | |
[DO NOT MERGE] 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
Bug: 308414141
Change-Id: I3571fa9207b778def652130d3ca840183a9a8414
(cherry picked from commit 965ff2d3c5487f72a77f6153ed8542cb2621d93c)
Merged-In: I3571fa9207b778def652130d3ca840183a9a8414
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions