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

Commit 3a9a42f4 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Replace privileged with proxy in MediaRouter2 javadocs

Privileged is old terminology that hasn't been used in a very
long time.

Bug: b/205124386
Change-Id: I505ef8a2f2fcda1ab55c7f1d88505c4957a5ef8e
Test: N/A javadoc only change.
Flag: EXEMPT documentation only
parent 7dad4fee
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