summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhaan Ugale <augale@google.com>2021-06-07 11:36:09 -0700
committerAhaan Ugale <augale@google.com>2021-06-08 14:26:04 -0700
commit5fc6910227c9052328002cedbf211ecb5edfcc4b (patch)
tree00a9edc26c3b3024dc9c1ea3ee8c0f7bef266ffa /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1e70989c61e1e06c1de508cb8262299dd349ebd8 (diff)
Grant HotwordDetectionService RECORD_AUDIO and CAPTURE_AUDIO_HOTWORD.
HotwordDetectionService is an isolated service which ordinarily cannot hold permissions. An isolated service has its own uid separate from the owning package. To allow it to access mic audio, we dynamically override the permissions check based on the currently bound HotwordDetectionService. Bug: 190011174 Test: manual - sample app can read audio (with a few other wip changes) Test: atest CtsVoiceInteractionTestCases Change-Id: I5abc809546184ef13cb9eb009f916afae6bdf1af
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions