commit | 29388ddc131abf4d323ddb78641f1ee984e29a95 | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Wed Nov 08 11:01:32 2023 +0100 |
committer | Bharath <bharath@teamb58.org> | Wed Jan 17 23:27:10 2024 +0530 |
tree | 3d1af0dc3ccf5f42d0241b56936662cab601d92d | |
parent | e6ffda071ec733607541e41f556767838e52dc5f [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 Bug: 308414141 (cherry picked from commit 965ff2d3c5487f72a77f6153ed8542cb2621d93c) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:87c11b6df3d6ba696a8978a01ef5d66aeab45c8f) Merged-In: I3571fa9207b778def652130d3ca840183a9a8414 Change-Id: I3571fa9207b778def652130d3ca840183a9a8414