commit | eb7f3a60801e31eef0719444c39574d89ac8ed39 | [log] [tgz] |
---|---|---|
author | Valentin Iftime <valiiftime@google.com> | Wed Nov 08 11:01:32 2023 +0100 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Dec 06 22:43:31 2023 +0000 |
tree | 10cc0a843e52f01b1528163ca5a091cf59fc037a | |
parent | 32792059b35c184640b3f27e09a86e5642300d33 [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:ade22bfdf6698cb97b4edc303e8952d6cc1a2f73) Merged-In: I3571fa9207b778def652130d3ca840183a9a8414 Change-Id: I3571fa9207b778def652130d3ca840183a9a8414