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

Commit 2f852231 authored by Chiachang Wang's avatar Chiachang Wang
Browse files

Remove hidden method link in public addRoute API

The build will complain after moving connectivity framework code
outside framework because the hidden methods/members accesses are
not allowed anymore. Link to a hidden class will not work since
it's not visible in public.

Bug: 182859030
Test: make docs
Change-Id: I5726f80be7cf92b648ce851d9601d5f58bc2b647
parent 51e5e808
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -686,8 +686,8 @@ public final class LinkProperties implements Parcelable {
    }

    /**
     * Adds a {@link RouteInfo} to this {@code LinkProperties}, if a {@link RouteInfo}
     * with the same {@link RouteInfo.RouteKey} with different properties
     * Adds a {@link RouteInfo} to this {@code LinkProperties}. If there is a {@link RouteInfo}
     * with the same destination, gateway and interface with different properties
     * (e.g., different MTU), it will be updated. If the {@link RouteInfo} had an
     * interface name set and that differs from the interface set for this
     * {@code LinkProperties} an {@link IllegalArgumentException} will be thrown.