diff options
author | Eric Laurent <elaurent@google.com> | 2019-10-24 15:57:27 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2019-11-08 16:39:41 -0800 |
commit | 597f0b5e95c24860e9492f95796893fb219b2a67 (patch) | |
tree | 5664c8538504da098fc34c7a83d169c71321e940 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 34fc421d5f50624d9867e32eeac0774b3e1a9f10 (diff) |
Add explicit private audio recording request
Add the possibility for apps to indicate that their
capture use case is private and that a privileged Assistant
should not be able to capture concurrently.
This allows to override the default behavior tied to the audio
source (e.g VOICE_COMMUNICATION is private by default but
UNPROCESSED is not).
- Add setPrivacySensitive() API to AudioRecord.Builder and
isPrivacySensitive() to AudioRecord
- Add setPrivacySensitive() and isPrivacySensitive() APIs to MediaRecorder.
Bug: 137850106
Test: CTS AudioRecordTest and MediaRecorderTest, manual audio smoke tests
Change-Id: I982b17cf08a9e5e0cf0501117bcaa6930b291f94
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions