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

Commit baed6a5e authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by android-build-merger
Browse files

Merge "getConnectionOwnerUid: Clarify documentation"

am: 63f516d1

Change-Id: I6d469968754a355871655f0a29c75e7305874bc3
parents 65edc0d8 63f516d1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4277,6 +4277,8 @@ public class ConnectivityManager {
     * @return {@code uid} if the connection is found and the app has permission to observe it
     * (e.g., if it is associated with the calling VPN app's tunnel) or
     * {@link android.os.Process#INVALID_UID} if the connection is not found.
     * Throws {@link SecurityException} if the caller is not the active VPN for the current user.
     * Throws {@link IllegalArgumentException} if an unsupported protocol is requested.
     */
    public int getConnectionOwnerUid(int protocol, @NonNull InetSocketAddress local,
            @NonNull InetSocketAddress remote) {