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

Commit 4307c1e1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Replace privileged with proxy in MediaRouter2 javadocs" into main

parents 80a253ce 3a9a42f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -809,7 +809,7 @@ public final class MediaRouter2 {
     * updates} in order to keep the system UI in a consistent state. You can also call this method
     * at any other point to update the listing preference dynamically.
     *
     * <p>Any calls to this method from a privileged router will throw an {@link
     * <p>Calling this method on a proxy router instance will throw an {@link
     * UnsupportedOperationException}.
     *
     * <p>Notes:
@@ -2675,7 +2675,7 @@ public final class MediaRouter2 {
        @Override
        public void setRouteListingPreference(@Nullable RouteListingPreference preference) {
            throw new UnsupportedOperationException(
                    "RouteListingPreference cannot be set by a privileged MediaRouter2 instance.");
                    "RouteListingPreference cannot be set by a proxy MediaRouter2 instance.");
        }

        @Override