diff options
| author | 2024-12-11 02:37:21 -0800 | |
|---|---|---|
| committer | 2024-12-11 02:37:21 -0800 | |
| commit | 4979f0bdd9fc6f8aec63f9b64f88a848f8909dff (patch) | |
| tree | bf772e4608b99f8fb0ab7e74c8491a944d26bd07 /libs/androidfw/ApkParsing.cpp | |
| parent | ec5b02f0c151d01a2565b4d9788297a4b671393f (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
Change-Id: If5a6c80e3bd665a9e67655a230e43d704422082b
(cherry picked from commit 94fc92cf20b897f016c3a9718edf40818de4a11b)
Merged-In: If5a6c80e3bd665a9e67655a230e43d704422082b
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions