From a25e0e92653fc615009beef12aa19abf2bc7bee9 Mon Sep 17 00:00:00 2001 From: Dhananjay Kumar Date: Mon, 3 Feb 2020 23:54:09 +0530 Subject: [PATCH] sm6150-common: rootdir: Update audio hal service override as per latest base service definition Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead --- 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 6c73f57..63c995a 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -304,7 +304,7 @@ service vendor.power /vendor/bin/hw/android.hardware.power-service-qti user system group system input -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 @@ -313,11 +313,5 @@ 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. 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 + onrestart restart audioserver