diff options
author | Kevin Rocard <krocard@google.com> | 2019-05-17 16:58:22 -0700 |
---|---|---|
committer | Kevin Rocard <krocard@google.com> | 2019-05-20 15:30:59 -0700 |
commit | 61164db786006d10f84a9a905ce7a3051561e6e8 (patch) | |
tree | abeaac201a1cbe1672637722c1ffd734dc3154e9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 935df08b15d291e9696159526fd067a37a1b66fb (diff) |
Fix permission check when registering an audio policy
The current checks were allowing public apps to register an audio policy
with an APC mix as intended, but the policy could also have focus
listener and volume controller which are not intended to be used by
public apps.
Test: atest android.media.cts.AudioPlaybackCaptureTest
Bug: 129948989
Change-Id: I97d41ed08faff05e59ae6b495ee62ae11f4a09c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions