Description[Media Router] Fix regression with icon not turning blue after casting.
Previously MR relies on the behavior of route response returning a
local displayable route on success. This is no longer the case, thus
the logic to turn the toolbar icon blue is no longer getting triggered.
The fix is to have the toolbar observe route list directly for local
displayable routes. Route queries have a much lower overhead than
before.
In a separate patch we will clean up the now obsolete
LocalMediaRoutesObserver API from MR and MR extension.
BUG=582278
Committed: https://crrev.com/7f297c082c6be8d8495c5b4fe22069e93ed92a73
Cr-Commit-Position: refs/heads/master@{#372750}
Patch Set 1 #Patch Set 2 : Fix tests #
Total comments: 8
Patch Set 3 : Addressed pkasting@'s comments #
Messages
Total messages: 11 (5 generated)
|