Skip to content
Commit 23e36895 authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

Disable output switcher based on available routing

The MediaRouter2Manager will tell us if there is available route
information. Disable the output switcher when
MediaRouter2Manager#getRoutingSessionForMediaController returns null.

Fixes: 155266917
Test: atest src/com/android/systemui/media/MediaDeviceManager.kt
Test: manual - Player for YouTube cast session still has disabled output
switcher because route information isn't available.

Change-Id: I95af24cf466a83c158350e9b9702d12d5db4861c
parent c83fbdea
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