commit | b08b3750aef0321f35e1514b4d3bbdae87f30467 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Jan 09 19:05:23 2024 -0800 |
committer | Andy Hung <hunga@google.com> | Tue Feb 27 15:45:36 2024 -0800 |
tree | c95e77ed2c7bae9baef6824752a75daa315a684b | |
parent | 88e7173f530960c9b516944039b5638e465a1aac [diff] |
AudioPolicyService: Make device effect init synchronous This initialization is done prior to exposing the AF and APS to ServiceManager to ensure consistent state and avoid nondeterministic bugs. AudioPolicyService::onAudioSystemReady() is called during audioserver initialization when both AF and APS are available to create internal audio client objects. Test: atest CtsMediaAudioTestCases Bug: 319515492 Change-Id: Ie6e0817c830da51e9b722b17ebd54f005b6a6055