Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3fe58a8 authored by Marvin Ramin's avatar Marvin Ramin
Browse files

Update deviceID for VirtualAudioDevice based on policy

If the VD AUDIO policy is DEFAULT: Device-aware permissions should not
take effect, thus use the default context to register the audio policies
in VirtualAudioDevice.

If the VD AUDIO policy is CUSTOM: Device-aware permissions should be
enabled and we use the device-context for the current VirtualDevice to
register the audio policies in VirtualAudioDevice.

Bug: 291737188
Test: atest VirtualAudioPermissionTest
Change-Id: I8b9d6b62543f18b4af1adb5f45ec5d49703e5c80
parent c534686c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment