Description[Media Router UI] Fix route-details/sink-list view flashing.
If the dialog is initially in route-details view, and the route is
closed before the 3s startup timer fires, then the dialog will flash
between the route-details and sink-list view before settling on
sink-list. See bug for details.
The fix is to only allow maybeShowRouteDetailsOnOpen to be invoked
once, on startup. It is removed from |rebuildRouteMaps_| and is now
called from setInitialData. Also removed |localRouteCount_| field from
media-router-container since it's no longer needed.
BUG=571463
Committed: https://crrev.com/ce8a324e712484eb866dfaa4d9b904de0a68f242
Cr-Commit-Position: refs/heads/master@{#367031}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : rebase #Patch Set 4 : fix tests #
Messages
Total messages: 13 (6 generated)
|