From ce5d445710dee040523d8d2128bb51e1096a4793 Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 19 Jun 2022 12:26:41 +0200 Subject: [PATCH] sm8450-common: rootdir: Add ultrasound socket to sensors hal Change-Id: Idf860292b6198aac2bf909747be8ab24872b83b2 --- rootdir/etc/init.xiaomi_sm8450.rc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rootdir/etc/init.xiaomi_sm8450.rc b/rootdir/etc/init.xiaomi_sm8450.rc index 7473ce7..c90fbb1 100644 --- a/rootdir/etc/init.xiaomi_sm8450.rc +++ b/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/android.hardware.sensors@2.1-service.xiaomi-multihal + 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