commit | ed726ccd073bbffe0e2b11624cec3ae8c4e2a1a4 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Jul 01 14:26:41 2021 +0200 |
committer | Eric Laurent <elaurent@google.com> | Thu Jul 01 14:26:41 2021 +0200 |
tree | cd429f53b3118e814032d664da1ae1082822e86f | |
parent | c47a784d7faf155f56a36dd1eed88e23c5dad247 [diff] |
audio policy: report app ops silencing audio recordings Move audio recording app op monitoring from audio flinger to audio policy service. This groups all recording silencing logic in one place and allows for proper reporting of the audio record silencing via RecordingActivityMonitor. Bug: 191040756 Test: run app that records audio, then $adb shell appops set <UID> 27 2 Test: atest GtsSuspendAppsTestCases:SuspendPackagesTest Change-Id: I12c30b1764b5e3d74612c6727a780026295cd367