summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Wenyu Zhang <zhangwenyu@google.com> 2024-10-10 20:10:47 +0000
committer Wenyu Zhang <zhangwenyu@google.com> 2024-10-10 20:10:47 +0000
commit8f0f00551c7ed1de0c827b65cce6aaeb5a74a2ee (patch)
tree0adcd2e0fe2d9022b12c68f35116eda446e77ca6 /api/api_test.go
parent2f809c5059c88215b9d90ab1cddb19bf8f4a419c (diff)
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions