Преглед на файлове

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