Просмотр исходного кода

sm8450-common: rootdir: Add oem_291 group and ultrasound socket to audio hal

Change-Id: I72121d7130ee1f7d48c656774ceb1a70eed28925
Arian 2 лет назад
Родитель
Сommit
7c587d3ae9
1 измененных файлов с 14 добавлено и 0 удалено
  1. 14 0
      rootdir/etc/init.xiaomi_sm8450.rc

+ 14 - 0
rootdir/etc/init.xiaomi_sm8450.rc

@@ -233,3 +233,17 @@ service vendor.nv_mac /vendor/bin/nv_mac
     user system
     group system inet net_admin wifi net_raw
     oneshot
+
+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 context_hub
+    capabilities BLOCK_SUSPEND SYS_NICE
+    # setting RLIMIT_RTPRIO allows binder RT priority inheritance
+    rlimit rtprio 10 10
+    ioprio rt 4
+    task_profiles ProcessCapacityHigh HighPerformance
+    onrestart restart audioserver
+    socket audio_us_socket_0 seqpacket 0666 system system