commit | 140a34fbfe829542c2c3651656d5c595201b3b4a | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Mon Dec 23 11:17:25 2019 -0800 |
committer | Eric Laurent <elaurent@google.com> | Fri Jan 17 10:35:53 2020 -0800 |
tree | b4496dd05e26b9d4b51dd48fb1a37f76ae9e71e9 | |
parent | 31f98910412ed7e023ffb240c49de63f958fd226 [diff] |
Check if calling uid is system uid for setAllowedPolicyCapture. AudioSystem.setAllowedPolicyCapture is only called from audio service. In that case, checking if the calling uid is system uid to before taking action. Bug: 145115448 Test: dumpsys audio, query active playback configuration Change-Id: I614ac881ecde6bad13f22f1382de701f314a7ada