Merge "getConnectionOwnerUid: Clarify documentation" am: 72a6706e8b am: 563f40fb7f

am: f26bffe73f

Change-Id: I4861a830f974d542452fb1ea8710438cf4fec14a
This commit is contained in:
Jeff Vander Stoep
2019-03-01 20:24:38 -08:00
committed by android-build-merger

View File

@@ -4293,6 +4293,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) {