commit | 56d4183046837973efe9daa210edb9444d97dfd4 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Mon Dec 23 11:17:25 2019 -0800 |
committer | Nadav Bar <nadavbar@google.com> | Thu Mar 05 06:42:26 2020 +0000 |
tree | a2360df1ec80e3d0f29db3a6c4be202bf00e28f1 | |
parent | 45d8059519751dede3cc13ecd84ae7b93b16908f [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 Merged-In: I614ac881ecde6bad13f22f1382de701f314a7ada (cherry picked from commit 140a34fbfe829542c2c3651656d5c595201b3b4a)