Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eba1b70d authored by Adam Powell's avatar Adam Powell
Browse files

Permit MediaRouteButton to select system routes in toggle mode.

Bug 6694917

Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
parent cab997b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
                    }
                }
            }