diff options
| author | 2024-11-20 00:37:38 +0000 | |
|---|---|---|
| committer | 2024-11-25 18:23:38 +0000 | |
| commit | 49005e36f8ebe4bce71bd88ba1dafad3b9ae1497 (patch) | |
| tree | af4f6c534c34d47a967ab4e7636d128114a6d02c /libs/androidfw/PathUtils.cpp | |
| parent | 5e293d6ddfcec99451fc3e0521838ccd7e9a060c (diff) | |
Ensure connect device button is shown
This CL fixes a bug in the logic of attachConnectNewDeviceItemIfNeeded
that caused the "Connect a device" button to disappear after the output
device was changed, if the input routing flag is enabled.
Before:
https://screencast.googleplex.com/cast/NTU5NTQzMDEzNzEwMjMzNnw0NWY1Mzk3YS0wZA
After:
https://screencast.googleplex.com/cast/NTQwMDMwMjcyNjQxNDMzNnw2NjA3MjM4Ni02MA
Test: atest MediaSwitchingControllerTest
Bug: b/379902375
Flag: com.android.media.flags.enable_audio_input_device_routing_and_volume_control
Change-Id: Ic16f0d18a5cac7e3279bbaaabbfdb89eb7b5b2e2
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions