diff options
| author | 2024-03-04 17:20:03 +0100 | |
|---|---|---|
| committer | 2024-03-04 17:23:26 +0100 | |
| commit | b3fe58a8caa1045d4d7218b2b24bcfdbff7a2859 (patch) | |
| tree | 216990aa8a9dba6deda8d0e230215390411fc818 /libs/androidfw/StringPool.cpp | |
| parent | c534686ca23f056830b715bfa6118512539441a1 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions