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: 308517246

Test: adb shell 'ps -Tl -p '
Change-Id: I5feff99d17e7933ff1a463900d43c14754f6cd26
This commit is contained in:
Avinash Malipatil 2023-11-06 05:13:50 +00:00
parent b60e65b48c
commit a468ce1cf4
2 changed files with 2 additions and 0 deletions

1
husky/radio.te Normal file
View file

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

1
shiba/radio.te Normal file
View file

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