Merge "[Output Swithcer] Add groupable routes when build list" into tm-dev

This commit is contained in:
Shaowei Shen
2022-03-23 06:34:28 +00:00
committed by Android (Google) Code Review

View File

@@ -465,6 +465,7 @@ public class InfoMediaManager extends MediaManager {
RoutingSessionInfo routingSessionInfo = getRoutingSessionInfo(packageName);
if (routingSessionInfo != null) {
infos.addAll(mRouterManager.getSelectedRoutes(routingSessionInfo));
infos.addAll(mRouterManager.getSelectableRoutes(routingSessionInfo));
}
final List<MediaRoute2Info> transferableRoutes =
mRouterManager.getTransferableRoutes(packageName);