summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Iavor-Valentin Iftime <valiiftime@google.com> 2024-12-09 16:33:07 +0000
committer Iavor-Valentin Iftime <valiiftime@google.com> 2024-12-09 16:33:07 +0000
commite0ba79286d2636a7b6247e36b914389a4db6f0f4 (patch)
tree5a6ccc7eb734e294900e2360f49e532940631e1d /libs/androidfw/AssetsProvider.cpp
parentee4ce01991e406a7731dfc6e5db57d77484bf6e1 (diff)
Check sound Uri permission when creating a notification channel
Verify that the calling app has the right permissions to read/grant the sound Uri for a channel it creates. Previously, Uri permissions would only be checked by NotificationRecord when a notification was posted. Flag: EXEMPT security fix Test: atest PreferencesHelperTest Test: atest NotificationManagerServiceTest Bug: 337775777 Merged-In: If5a6c80e3bd665a9e67655a230e43d704422082b Change-Id: If5a6c80e3bd665a9e67655a230e43d704422082b (cherry picked from commit 94fc92cf20b897f016c3a9718edf40818de4a11b)
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions