summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author lpeter <lpeter@google.com> 2022-05-27 17:42:18 +0800
committer lpeter <lpeter@google.com> 2022-06-07 19:16:05 +0800
commit487bd3e54bd8e50396356275b3ceca9dfe8b21ae (patch)
tree6ed2427cda4973428c0985f402905daf656fd277 /libs/androidfw/AssetsProvider.cpp
parentc7c60d5ec18d399520a942cb678a06423921dacf (diff)
Grant CAPTURE_AUDIO_OUTPUT permission for trusted process
HotwordDetectionService is an isolated service which ordinarily cannot hold permissions, so we dynamically override the permissions check based on the currently bound HotwordDetectionService. We have a similar change to grant RECORD_AUDIO and CAPTURE_AUDIO_HOTWORD permissions to HotwordDetectionService before. (ag/14427323 and ag/14883678) Bug: 228328385 Test: atest CtsVoiceInteractionTestCases Change-Id: I9156be8ff7812774145ab4806523fb503fc9491f
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions