Restrict MediaRouter selection
Actually restrict the programmatic selection of routes by type. (Oops.) Change-Id: I91e837f7ecbcddb626c664fb470e8296d563498d
This commit is contained in:
@ -276,6 +276,7 @@ public class MediaRouter {
|
||||
Log.w(TAG, "selectRoute ignored; cannot select route with supported types " +
|
||||
typesToString(route.getSupportedTypes()) + " into route types " +
|
||||
typesToString(types));
|
||||
return;
|
||||
}
|
||||
|
||||
if (sStatic.mSelectedRoute != null) {
|
||||
|
Reference in New Issue
Block a user