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
Loading
Please register or sign in to comment