init: update audio hal service override as per latest base service definition

Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
Dhananjay Kumar 2020-02-03 23:54:09 +05:30 committed by Giammarco Senatore
parent 923fbb3963
commit 799b8745bb
No known key found for this signature in database
GPG key ID: 661348FC1E144F04

View file

@ -1142,7 +1142,7 @@ on property:vendor.opengles.version=*
on property:vendor.gpu.available_frequencies=*
setprop ro.vendor.gpu.available_frequencies ${vendor.gpu.available_frequencies}
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
@ -1151,18 +1151,5 @@ 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
service vendor.contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service
override
class hal
interface android.hardware.contexthub@1.0::IContexthub default
user system
group system
disabled
socket audio_hw_socket seqpacket 0666 system system
onrestart restart audioserver