summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorDhananjay Kumar <dhakumar@codeaurora.org>2020-02-03 23:54:09 +0530
committerMichael Bestas <mkbestas@lineageos.org>2020-12-20 18:55:01 +0200
commit7a6a0d7b0cedf1bb669174cee98a387fc6b691a7 (patch)
tree9a2930fde68f4fa8195c09e4c841d72d5876d400 /rootdir
parenta08566666e902e7faa3d6a066c760db29a0f9b84 (diff)
sdm660-common: init: update audio hal service override as per latest base service definition
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.rc10
1 files changed, 2 insertions, 8 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index e9d54bb..7867f9e 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -997,7 +997,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
@@ -1006,13 +1006,7 @@ 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
service vendor.contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service
override