Fix Javadoc sample code
Bug: 229590677 Tested: JavadocOnly Change-Id: I009730d196d9cec5470198b0e7257986205ba056
This commit is contained in:
@@ -90,7 +90,7 @@ import java.util.Objects;
|
||||
* </p>
|
||||
* <pre>
|
||||
* MediaRouter mediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
|
||||
* MediaRouter.RouteInfo route = mediaRouter.getSelectedRoute();
|
||||
* MediaRouter.RouteInfo route = mediaRouter.getSelectedRoute(MediaRouter.ROUTE_TYPE_LIVE_VIDEO);
|
||||
* if (route != null) {
|
||||
* Display presentationDisplay = route.getPresentationDisplay();
|
||||
* if (presentationDisplay != null) {
|
||||
|
||||
Reference in New Issue
Block a user