Skip to content

Commit eba1b70

Browse files
committed
Permit MediaRouteButton to select system routes in toggle mode.
Bug 6694917 Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
1 parent cab997b commit eba1b70

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)