Loading
Apply default selected device to all presets
When system is initialized, or when audio device is connected/disconnected, the default active input device returned back from AudioPolicyManager does not apply to all all capture presets. This leads to an issue that the selected device shown in UI does not match the real device used in some presets (e.g. recording), which makes users confused. This CL fixes this problem by applying the default selected device to all presets. Change-Id: I80efab3db6afa41c67c671e3b6bb73666c151086 Bug: b/355684672, b/357123258 Test: InputRouteManagerTest Flag: com.android.media.flags.enable_audio_input_device_routing_and_volume_control