diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index bc616c38..2ce111a4 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -824,7 +824,7 @@ on property:sys.camera.not.ctsverify.apk=* on property:sys.gyro.sensorname=* setprop vendor.camera.gyro.sensorname ${sys.gyro.sensorname} -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 @@ -833,10 +833,4 @@ service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service capabilities BLOCK_SUSPEND SYS_NICE 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