Merge "Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'."

This commit is contained in:
Daniel Norman
2019-07-31 21:12:12 +00:00
committed by Gerrit Code Review

View File

@@ -6,9 +6,4 @@ 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@4.0::IDevicesFactory default
interface android.hardware.audio@2.0::IDevicesFactory default
onrestart restart audioserver