소스 검색

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