diff options
author | Ahaan Ugale <augale@google.com> | 2021-06-17 22:41:07 -0700 |
---|---|---|
committer | Ahaan Ugale <augale@google.com> | 2021-06-29 02:25:49 +0000 |
commit | 91d9ac36e3d32f14c5f82433d257616614f639da (patch) | |
tree | 7347c0490378d9ef2f7e9732b2231e13e5c4deba /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c27cb748b18bd0e68fc0b3b417589239b8187e25 (diff) |
Allow only HotwordDetectionService to note OP_RECORD_AUDIO_HOTWORD
These ops do not incur the mic privacy indicator. The
HotwordDetectionService runs in a sandbox, so it's fine to allow it to
access the mic without notifying the user. Other clients that use the
hotword audio source will have their ops downgraded to OP_RECORD_AUDIO
(particularly the non-sandboxed partner to this service in the assistant
app - the VoiceInteractionService).
Bug: 186164881
Bug: 189967066
Test: manual - privacy indicator works as expected
Change-Id: Id55a4fdcd0b8edfda3b969302542fc6009da3395
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions