| commit | 5a5ca6a758236130987d29ef90c010537f40376c | [log] [tgz] |
|---|---|---|
| author | Adithya R <gh0strider.2k18.reborn@gmail.com> | Sat Feb 17 07:26:49 2024 +0530 |
| committer | toufu <hamm157famm7423@gmail.com> | Sun Jun 15 02:24:26 2025 +0900 |
| tree | 04fe5a090bcd84fcd3e80dd0ae30c9ba74679a91 | |
| parent | 4d360975fc42849829b41df550aaa38a01fe4adc [diff] |
audio: Check MODIFY_AUDIO_ROUTING permission for per-app volume We need to use this from SystemUI which runs under app uid. Instead check for MODIFY_AUDIO_ROUTING permission which is granted only to select system apps (including SystemUI) and also matches the API @RequiresPermission annotation in framework. Change-Id: Ib78565c15cbdc8619bf94240a2329e97fd40c6a9 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>