Преглед изворни кода

sm8450-common: rootdir: Add ultrasound socket to sensors hal

Change-Id: Idf860292b6198aac2bf909747be8ab24872b83b2
Arian пре 2 година
родитељ
комит
ce5d445710
1 измењених фајлова са 10 додато и 0 уклоњено
  1. 10 0
      rootdir/etc/init.xiaomi_sm8450.rc

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

@@ -247,3 +247,13 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
     task_profiles ProcessCapacityHigh HighPerformance
     onrestart restart audioserver
     socket audio_us_socket_0 seqpacket 0666 system system
+
+service vendor.sensors-hal-2-1-multihal /vendor/bin/hw/[email protected]
+    override
+    class hal
+    user system
+    group system wakelock context_hub
+    task_profiles ServiceCapacityLow
+    capabilities BLOCK_SUSPEND
+    rlimit rtprio 10 10
+    socket audio_us_socket_1 seqpacket 0666 system system