sm8550-common: init: Override AOSP a-HAL service definition

Qualcomm adds oem_2901 and oem_2912 as group members.

Change-Id: I90e9d45069a8100bf922a5058fae5dbc5e5ef0c9
This commit is contained in:
Bruno Martins
2023-11-16 14:05:20 +00:00
committed by chaptsand
parent 5890111d9b
commit 41e05e8e09

View File

@@ -189,3 +189,14 @@ service vendor.cnss_diag /system/vendor/bin/cnss_diag -q -f -t HELIUM
on early-boot && property:persist.vendor.pcie.boot_option=* on early-boot && property:persist.vendor.pcie.boot_option=*
write /sys/bus/platform/devices/1c00000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option} write /sys/bus/platform/devices/1c00000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
write /sys/bus/platform/devices/1c08000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option} write /sys/bus/platform/devices/1c08000.qcom,pcie/debug/boot_option ${persist.vendor.pcie.boot_option}
service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
override
class hal
user audioserver
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock oem_2912
capabilities BLOCK_SUSPEND SYS_NICE
ioprio rt 4
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
onrestart restart audioserver