audio: add policy for rild to get vendor audio propery

- rild has different sepolicy for audio hal by type of service, which is
  hidl or aidl. Read property before querying service in rild can avoid
  avc denied presubmit test.

Bug: 206738075
Test: build pass with hidl/aidl audio service

Change-Id: I2616028fb3a6029646340fc3282e51a5f02b3f7f
Signed-off-by: Jasmine Cha <chajasmine@google.com>
This commit is contained in:
Jasmine Cha 2023-03-13 09:41:44 +08:00
parent 1d9d2b9c79
commit 6cd390e2cf
3 changed files with 5 additions and 0 deletions

View file

@ -8,3 +8,4 @@ vendor.audiodump.output.dir u:object_r:vendor_audio_prop:s0
vendor.audiodump.encode.disable u:object_r:vendor_audio_prop:s0
vendor.audiodump.log.cca.updated u:object_r:vendor_audio_prop:s0
vendor.audiodump.cca.config u:object_r:vendor_audio_prop:s0
vendor.audio_hal.aidl.enable u:object_r:vendor_audio_prop:s0