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

Commit 1135ae6e authored by Alex Shabalin's avatar Alex Shabalin Committed by Alexandr Shabalin
Browse files

Populate `InputMediaDevice#isSelected`.

The UI relies on `isSelected` attribute to make the device in the list
interactive (has volume control).

`InputMediaDevice#isSelected` replaces
`InputRouteManager#getSelectedDevice()` which usage was removed in
ag/34630947.

Fix: 432652209
Test: atest InputRouteManagerTest InputMediaDeviceTest
Test: atest MediaOutputAdapterTest MediaSwitchingControllerTest
Flag: com.android.media.flags.enable_audio_input_device_routing_and_volume_control
Change-Id: I683db6ed09f5038d2671b3ce3e931b22f1e098b3
parent 98e2bfb0
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