summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Valentin Iftime <valiiftime@google.com> 2023-11-08 11:01:32 +0100
committer Valentin Iftime <valiiftime@google.com> 2023-11-13 13:00:58 +0100
commit965ff2d3c5487f72a77f6153ed8542cb2621d93c (patch)
tree921bd3ec8749218a3d11bf38533edc0ea8e1d900 /libs/androidfw/AttributeResolution.cpp
parentf8e2f788cbd04cbfa0ba6ce04e189ce924bf30d4 (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