Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8f0f0055 authored by Wenyu Zhang's avatar Wenyu Zhang
Browse files

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
parent 2f809c50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment