Decouple the configuration from the AudioPolicyManager
Promote AudioPolicyConfig to a full class, not just a "view" on the APM data. This allows separating initialization of the APM config from the initialization of the APM itself. Thus, the APM receives a fully initialized config upon its creation, regardless of the way the config data has been obtained. Bug: 205884982 Test: atest audiopolicy_tests Test: atest audiosystem_tests Test: atest audio_health_tests Test: m audiopolicy_fuzzer (cherry picked from https://android-review.googlesource.com/q/commit:b0fbc1b40ddebb274b7a0bea811440507c357d82) Merged-In: I334d16e762499a0292540e6abae4e177480d6235 Change-Id: I334d16e762499a0292540e6abae4e177480d6235
Loading
Please register or sign in to comment