Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 04a5d5dd authored by Iavor-Valentin Iftime's avatar Iavor-Valentin Iftime Committed by Android Build Coastguard Worker
Browse files

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
(cherry picked from commit 94fc92cf)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4a5ab5249a74a49ef6e76c3c88e9766ccec01713)
Merged-In: If5a6c80e3bd665a9e67655a230e43d704422082b
Change-Id: If5a6c80e3bd665a9e67655a230e43d704422082b
parent 98b6fa46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment