Restrict MediaRouter selection

Actually restrict the programmatic selection of routes by
type. (Oops.)

Change-Id: I91e837f7ecbcddb626c664fb470e8296d563498d
This commit is contained in:
Adam Powell
2012-06-18 11:51:34 -07:00
parent 1c1ece1bd2
commit 4ee1f55ce0

View File

@ -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) {