Use PermissionChecker (av) in captureAudioOutputAllowed method
PermissionChecker now includes some higher level logic for allowing the HotwordDetectionService to grant CAPTURE_AUDIO_OUTPUT permission. 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: I1b23f6af75bd680ff8c3a58b357668678238f591
Loading
Please register or sign in to comment