From ae5165d075b799f95f482d9fbf0ee07b68c9f516 Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Tue, 25 May 2021 00:59:33 +0900 Subject: [PATCH] gts3l: init: Update audio HAL service to fir into the current setup Signed-off-by: Deokgyu Yang Change-Id: I5367a7bcd715a6c0a1a1394da65bfb83b2b35835 --- rootdir/etc/init.qcom.rc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index e5d7e5c..e50cd51 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -980,7 +980,7 @@ service vendor.wifilearner /system/vendor/bin/wifilearner group wifi oneshot -service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service +service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service override class hal user audioserver @@ -989,10 +989,4 @@ service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service 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. - 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 + onrestart restart audioserver