This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 Review URL: https://codereview.chromium.org/1648713004 Cr-Commit-Position: refs/heads/master@{#372750} (cherry picked from commit 7f297c0) Review URL: https://codereview.chromium.org/1661623002 . Cr-Commit-Position: refs/branch-heads/2623@{#248} Cr-Branched-From: 92d7753-refs/heads/master@{#369907}
- Loading branch information
Derek Cheng
committed
Feb 2, 2016
1 parent
d0fb775
commit 1fb5ee6
Showing
3 changed files
with
66 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters