Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1880e997 authored by Lorena Torres-Huerta's avatar Lorena Torres-Huerta Committed by Automerger Merge Worker
Browse files

Merge "AIDL effect: restart vendor.audio-effect-hal-aidl with audioserver" am:...

Merge "AIDL effect: restart vendor.audio-effect-hal-aidl with audioserver" am: 79cfb001 am: 7e242503

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2199863



Change-Id: I5c4b24b5277857c58c62fea1b323e1677c92c5f4
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2967dbc1 7e242503
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ service audioserver /system/bin/audioserver
    task_profiles ProcessCapacityHigh HighPerformance
    onrestart restart vendor.audio-hal
    onrestart restart vendor.audio-hal-aidl
    onrestart restart vendor.audio-effect-hal-aidl
    onrestart restart vendor.audio-hal-4-0-msd
    onrestart restart audio_proxy_service

@@ -19,6 +20,7 @@ on property:vts.native_server.on=0
on property:init.svc.audioserver=stopped
    stop vendor.audio-hal
    stop vendor.audio-hal-aidl
    stop vendor.audio-effect-hal-aidl
    stop vendor.audio-hal-4-0-msd
    stop audio_proxy_service
    # See b/155364397. Need to have HAL service running for VTS.
@@ -26,12 +28,14 @@ on property:init.svc.audioserver=stopped
    # audioserver bringing it back into running state.
    start vendor.audio-hal
    start vendor.audio-hal-aidl
    start vendor.audio-effect-hal-aidl
    start vendor.audio-hal-4-0-msd
    start audio_proxy_service

on property:init.svc.audioserver=running
    start vendor.audio-hal
    start vendor.audio-hal-aidl
    start vendor.audio-effect-hal-aidl
    start vendor.audio-hal-4-0-msd
    start audio_proxy_service

@@ -40,10 +44,12 @@ on property:sys.audio.restart.hal=1
    # Keep the original service names for backward compatibility
    stop vendor.audio-hal
    stop vendor.audio-hal-aidl
    stop vendor.audio-effect-hal-aidl
    stop vendor.audio-hal-4-0-msd
    stop audio_proxy_service
    start vendor.audio-hal
    start vendor.audio-hal-aidl
    start vendor.audio-effect-hal-aidl
    start vendor.audio-hal-4-0-msd
    start audio_proxy_service
    # reset the property