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

Commit b8eeaa9d authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6689685 from e5dd4048 to rvc-qpr1-release

Change-Id: Ic6c71162fb16a9770da0acccf94119771fd314b6
parents adc412fa e5dd4048
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -6,8 +6,11 @@ service audioserver /system/bin/audioserver
    capabilities BLOCK_SUSPEND
    ioprio rt 4
    task_profiles ProcessCapacityHigh HighPerformance

    onrestart setprop sys.audio.restart.hal 1
    onrestart restart vendor.audio-hal
    onrestart restart vendor.audio-hal-4-0-msd
    # Keep the original service names for backward compatibility
    onrestart restart vendor.audio-hal-2-0
    onrestart restart audio-hal-2-0

on property:vts.native_server.on=1
    stop audioserver
@@ -37,11 +40,16 @@ on property:init.svc.audioserver=running
    start audio-hal-2-0

on property:sys.audio.restart.hal=1
    restart vendor.audio-hal
    restart vendor.audio-hal-4-0-msd
    # See b/159966243. Avoid restart loop between audioserver and HAL.
    # Keep the original service names for backward compatibility
    restart vendor.audio-hal-2-0
    restart audio-hal-2-0
    stop vendor.audio-hal
    stop vendor.audio-hal-4-0-msd
    stop vendor.audio-hal-2-0
    stop audio-hal-2-0
    start vendor.audio-hal
    start vendor.audio-hal-4-0-msd
    start vendor.audio-hal-2-0
    start audio-hal-2-0
    # reset the property
    setprop sys.audio.restart.hal 0