SEPolicy change to allow ImsMedia to set priority of audio threads.

Setting real-time thread priority for audio threads is a must to handle voice stream during vowifi calls.

AVC Error: auditd  : avc:  denied  { find } for pid=9346 uid=1001 name=scheduling_policy scontext=u:r:radio:s0 tcontext=u:object_r:scheduling_policy_service:s0 tclass=service_manager permissive=0

Bug: 306298801

Test: adb shell 'ps -Tl -p '
Change-Id: I69742ae8c5f1017fc45e24c417fc6e1875fe3e14
This commit is contained in:
Avinash Malipatil 2023-10-20 08:45:29 +00:00
parent c723e3e5a2
commit 79c86953ca
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# sepolicy exclusively for akita.
BOARD_SEPOLICY_DIRS += device/google/akita-sepolicy/vendor
BOARD_SEPOLICY_DIRS += device/google/akita-sepolicy/tracking_denials
BOARD_SEPOLICY_DIRS += device/google/akita-sepolicy/radio

1
radio/radio.te Normal file
View file

@ -0,0 +1 @@
allow radio scheduling_policy_service:service_manager find;