| commit | bda4575c36ad11b0870ccdb50dcb3a04573d6782 | [log] [tgz] |
|---|---|---|
| author | Philip P. Moltmann <moltmann@google.com> | Fri Jul 17 16:41:18 2020 -0700 |
| committer | Nate Myren <ntmyren@google.com> | Thu Mar 11 08:35:04 2021 -0800 |
| tree | 9e5e3ed6228395c814e390c464e09b3d5922cf29 | |
| parent | 6d988df316533c7e189b266ad01e66356b6992d1 [diff] |
Add attributionTag to audio-recordings
... by replacing packageName/uid/pid by the Identity class.
This allows us to track which parts of the app trigger audio-recordings.
90% of the code is just sending around the additional parameters.
This adds it for the Java and native API.
Test: atest CtsAppOpsTestCases
CtsNativeMediaAAudioTestCases
Fixes: 160150145
Change-Id: Ibd7b884f7fcd4668a4e27f997e59cfc3217a9e89