summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Atneya Nair <atneya@google.com> 2024-06-12 17:37:03 -0700
committer Atneya Nair <atneya@google.com> 2024-06-26 17:53:46 -0700
commitaf33533f90da239137a02f56a2c89a80fd2ee02f (patch)
treec54cb6d5d138c1584b5b572e8a8091198e026aa1 /api/api.go
parent91277279e09ad549c9d1d8b818f3c30c76a82c89 (diff)
Make AudioService perm provider HDS aware
Replicate the special handling for the isolated UID associated with HDS in the audioserver permission provider logic. - VoiceInteractionManagerService now communicates the owner uid of trusted process, which is useful for package association/validation - VIMS no longer posts this call on an executor, it should be sync to ensure correct handling by audioserver - Keep track of the active HDS uid in the PermissionProvider, and grant it the appropriate special-case permissions, updating audioserver when HDS uid is changed - Change permission predicate to be more correct (old API was internal) Bug: 338089555 Test: atest AudioServerPermissionProviderTest#testSpecialHotwordPermissions Test: manual verification of hotword detection Flag: com.android.media.audio.audioserver_permissions Change-Id: Idf44e236f3992c10badbb8f96fd52bd54198430d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions