commit | 61164db786006d10f84a9a905ce7a3051561e6e8 | [log] [tgz] |
---|---|---|
author | Kevin Rocard <krocard@google.com> | Fri May 17 16:58:22 2019 -0700 |
committer | Kevin Rocard <krocard@google.com> | Mon May 20 15:30:59 2019 -0700 |
tree | abeaac201a1cbe1672637722c1ffd734dc3154e9 | |
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