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

Commit 387a7165 authored by Rios Kao's avatar Rios Kao
Browse files

audioserver: cover abnormal start request from init

Test: test suite
Bug: 378773354
Flag: EXEMPT bugfix
Change-Id: Iae94aea4140f7043fe6d545da238bc5a478cabaf
parent cf5c0971
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -34,6 +34,12 @@ on property:init.svc.audioserver=stopped
    start vendor.audio-hal-4-0-msd
    start audio_proxy_service

on property:init.svc.audioserver=running && property:vts.native_server.on=1
    # See b/378773354. To ensure the audioserver disable when
    # running test suite, this would cover the double start
    # request from init that caused test flaky.
    stop audioserver

on property:init.svc.audioserver=running
    start vendor.audio-hal
    start vendor.audio-hal-aidl