New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 598721 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Listen for onRouteChanged when discovering Cast routes

Project Member Reported by avayvod@chromium.org, Mar 29 2016

Issue description

According to the code for MediaRouteChooserDialog, one needs to override onRouteChanged() to discover routes by category reliably:

https://android.googlesource.com/platform/frameworks/support/+/2838eb1aea3fd1fac66526e1418f4739625bc4a1/v7/mediarouter/src/android/support/v7/app/MediaRouteChooserDialog.java#239

For instance, the Cast MRP might actually add new route without knowing if the Cast application is available which means it later will change the route with the matching category but onRouteAdded won't be called on the callback.

In practice it means sometimes Chrome reports false screen availability via the Presentation API.
 
Labels: ReleaseBlock-Stable
Labels: Merge-Request-50

Comment 4 by tin...@google.com, Mar 29 2016

Labels: -Merge-Request-50 Merge-Approved-50 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M50 (branch: 2661)
Project Member

Comment 5 by bugdroid1@chromium.org, Mar 29 2016

Status: Fixed (was: Assigned)

Sign in to add a comment