From 80bafc10eed0548bee402aef49fea3a762bdb66d Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 10 Sep 2020 23:20:37 +0200 Subject: [PATCH] davinci: rootdir: Stop overriding audio hal 2.0 service * Xiaomi adds the audio_hw_socket here, but it needs their changes in the audio HAL, hence it's useless for us. Change-Id: Idf38468ad709623b60b694f458e71d0565ce6fb6 --- rootdir/etc/init.qcom.rc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index b1bbad4..3aeda71 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -322,21 +322,3 @@ service vendor.power_off_alarm /vendor/bin/power_off_alarm class core group system oneshot - -service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-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 - capabilities BLOCK_SUSPEND - ioprio rt 4 - writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks - # audioflinger restarts itself when it loses connection with the hal - # and its .rc file has an "onrestart restart audio-hal" rule, thus - # an additional auto-restart from the init process isn't needed. - socket audio_hw_socket seqpacket 0666 system system - oneshot - interface android.hardware.audio@5.0::IDevicesFactory default - interface android.hardware.audio@4.0::IDevicesFactory default - interface android.hardware.audio@2.0::IDevicesFactory default