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

Skip to content
Commit c64e448d authored by Iván Budnik's avatar Iván Budnik
Browse files

Simplify DeviceChip population logic in MediaDeviceManager

The device chip's should be populated with one unique source to avoid
incongruent states (e.g. icon representing a different device than
name). We can rely now on LocalMediaManager to provide the right
connected device based on PlaybackInfo.

Also, SASS devices should override the Device Chip only when the
PlaybackInfo is not set to PLAYBACK_TYPE_REMOTE.

Bug: 333564788
Test: Manual + adb shell cmd statusbar media-mute-await 4 ble-headset
start
Flag: com.android.settingslib.media.flags.use_playback_info_for_routing_controls

Change-Id: I25ebfa627da5165900e78df10ede0e706bd3e24a
parent b3341550
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment