commit | 376a8465171ce3c54738fb52c1c6edf2df47ed69 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Mon Mar 29 06:14:57 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Mar 29 06:14:57 2021 +0000 |
tree | 761539b9474a3cf75ec26bb72f2d788e5b32931f | |
parent | 7b978c5cd71b069789fc57d07d68a83fe5b11c87 [diff] | |
parent | c567eb89a25762cb6a578278efb4212383805496 [diff] |
Merge "Re-implement NetworkUtils#queryUserAccess." am: 43dc028b9f am: c567eb89a2 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1650330 Change-Id: I8c016c0056fd29e60d89d5a90e75a7305ad73231
diff --git a/framework/src/android/net/NetworkUtils.java b/framework/src/android/net/NetworkUtils.java index c4bebc0..a92fda1 100644 --- a/framework/src/android/net/NetworkUtils.java +++ b/framework/src/android/net/NetworkUtils.java
@@ -92,7 +92,10 @@ * Determine if {@code uid} can access network designated by {@code netId}. * @return {@code true} if {@code uid} can access network, {@code false} otherwise. */ - public native static boolean queryUserAccess(int uid, int netId); + public static boolean queryUserAccess(int uid, int netId) { + // TODO (b/183485986): remove this method + return false; + } /** * DNS resolver series jni method.