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

Commit 5447887f authored by Rios Kao's avatar Rios Kao Committed by Mikhail Naganov
Browse files

audioserver: cover abnormal start request from init

Test: test suite
Bug: 378773354
Bug: 381385909
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:387a716595c5dabbbec42829343012697dcb1c30)
Merged-In: Iae94aea4140f7043fe6d545da238bc5a478cabaf
Change-Id: Iae94aea4140f7043fe6d545da238bc5a478cabaf
parent 84561d35
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