Skip to content

Commit 2a2b021

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Permit MediaRouteButton to select system routes in toggle mode." into jb-dev
2 parents f7e820b + eba1b70 commit 2a2b021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/app/MediaRouteButton.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public boolean performClick() {
110110
final RouteInfo route = mRouter.getRouteAt(i);
111111
if ((route.getSupportedTypes() & mRouteTypes) != 0 &&
112112
route != mRouter.getSystemAudioRoute()) {
113-
mRouter.selectRoute(mRouteTypes, route);
113+
mRouter.selectRouteInt(mRouteTypes, route);
114114
}
115115
}
116116
}

0 commit comments

Comments
 (0)