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

Skip to content
Commit 49005e36 authored by Cam Bickel's avatar Cam Bickel Committed by Camden Bickel
Browse files

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
parent 5e293d6d
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