diff options
| author | 2025-03-06 10:23:56 +0000 | |
|---|---|---|
| committer | 2025-03-13 11:35:57 -0700 | |
| commit | 49156faf47fd4c72529420e78b9eb3f7b709e796 (patch) | |
| tree | 46aeeb496b2d5d2faecbd4fa78ba98b37de9c8f7 /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | 546ca2040347b7b12c068068f42e330314beeadf (diff) | |
Check wiu permissions on any deviceId to start a fgs
Some of the wiu permissions required to start a foreground service can
be device aware (RECORD_AUDIO and CAMERA) and they can be different
depending on the resources (virtual audio or camera devices) used.
This relaxes the check to allow the fgs to start if it has the permission
on any of the active deviceIds (virtual devices).
CTS test added in ag/32131429, @Ignore for the immediate release (though
it passes and will be reenabled by b/402139346).
Bug: 381386115
Bug: 400753852
Test: manual VDM demo sample app with Pixel Recorder app
Test: atest android.virtualdevice.cts.audio.VirtualAudioPermissionTest
Test: atest ActivityManagerForegroundServiceTypeTest
Flag: EXEMPT, bugfix
Change-Id: I91b01ba2dddda83801a2a9b586cd03bbdc780754
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions