diff options
| author | 2024-12-10 13:11:54 +0000 | |
|---|---|---|
| committer | 2024-12-10 13:11:54 +0000 | |
| commit | b4da73a935a8c906ff5df562155824d63ac849ab (patch) | |
| tree | 6298fdd76e9fa539ce1f0c74afdd368830006497 /libs/androidfw/ApkParsing.cpp | |
| parent | 361f663370dc915607b4b9e17bc0a49d43cb799e (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/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions