diff options
| author | 2024-12-10 13:04:56 +0000 | |
|---|---|---|
| committer | 2024-12-10 13:04:56 +0000 | |
| commit | ea7f8886309b92f2264154e6936b0cdd540a3c05 (patch) | |
| tree | 4fb0f593730903291af167b803169b8f2ebe8a7e /libs/androidfw/ConfigDescription.cpp | |
| parent | 1e973616542153aaed999c4f1c292ce493f40049 (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/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions