Skip to content

Commit eb2c1b2

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Restrict MediaRouter selection" into jb-dev
2 parents ec7c7eb + 4ee1f55 commit eb2c1b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

media/java/android/media/MediaRouter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ static void selectRouteStatic(int types, RouteInfo route) {
276276
Log.w(TAG, "selectRoute ignored; cannot select route with supported types " +
277277
typesToString(route.getSupportedTypes()) + " into route types " +
278278
typesToString(types));
279+
return;
279280
}
280281

281282
if (sStatic.mSelectedRoute != null) {

0 commit comments

Comments
 (0)