Revert "davinci: rootdir: Stop overriding audio hal 2.0 service"

This reverts commit 80bafc10ee.

Change-Id: I0d5d967d2a4a57c762abbcd34cda50efb686a0c3
This commit is contained in:
Arian 2020-09-10 23:20:37 +02:00
parent 4fd1fd2a1c
commit a75fe3e862
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -303,3 +303,21 @@ service vendor.power /vendor/bin/hw/android.hardware.power-service-qti
class hal
user system
group system input
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