commit | 7616b33d9bf4b25fadc85c7aea326a3fa8e403e2 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Wed Nov 20 04:47:02 2024 +0000 |
committer | Jiabin Huang <jiabin@google.com> | Mon Dec 02 17:24:55 2024 +0000 |
tree | f822895e4a8fd6d0417586036640c189b500dfac | |
parent | 0cbc6751f74ccb0520e852ab5571a5990b50fb55 [diff] |
Add permission check for audio attributes tags. Audio attributes tags are system APIs in NDK that can be used to affect routing, volume control, etc. In that case, apply MODIFY_AUDIO_SETTINGS_PRIVILEGED permission check to protect it. Bug: 378909923 Test: atest test_attributes Flag: EXEMPT NDK Change-Id: Id2a4063b72587e9495bd1221ef82122725f28b5a