| commit | ea0fc122e4df7a826313579841c9015735851cb7 | [log] [tgz] |
|---|---|---|
| author | Iavor-Valentin Iftime <valiiftime@google.com> | Mon Aug 11 08:39:42 2025 -0700 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Oct 10 14:05:47 2025 -0700 |
| tree | 66ee5adf8f7dfc844c85338e0490ce763add1d88 | |
| parent | 5475e757915a59e340f644ba5e422df6fd7b8d3d [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. Fallback to default notification sound if permission check fails. 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 Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:2660997099937521ce6fee92b012efd0e182d20e Merged-In: I1fcd2b4bbe9aad146775af8963957307afb995c1 Change-Id: I1fcd2b4bbe9aad146775af8963957307afb995c1