Permit MediaRouteButton to select system routes in toggle mode.

Bug 6694917

Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
This commit is contained in:
Adam Powell
2012-06-19 15:58:38 -07:00
parent cab997b202
commit eba1b70d7a

View File

@@ -110,7 +110,7 @@ public class MediaRouteButton extends View {
final RouteInfo route = mRouter.getRouteAt(i);
if ((route.getSupportedTypes() & mRouteTypes) != 0 &&
route != mRouter.getSystemAudioRoute()) {
mRouter.selectRoute(mRouteTypes, route);
mRouter.selectRouteInt(mRouteTypes, route);
}
}
}