Loading
Support dynamic call audio route updates
This CL leverages the audio fwk API (AudioDeviceCallback) in order to dynamically update the call audio routes. These were previously only created once during initialization of the controller but it's possible that the native audio server hasn't been instantiated yet which causes issues where the user is only able to route to speaker (and not earpiece) for example. By using the callback, we can add the supported routes once they are reported to us by the audio fwk. Bug: 410037709 Flag: EXEMPT bug fix Test: atest CallAudioRouteControllerTest Test: manual verification upon initialization to check that route calculations come via the callback Change-Id: I02ffcd516b07da67333df5ff455f9fab6e0e59f3