commit | c567eb89a25762cb6a578278efb4212383805496 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Mon Mar 29 05:32:39 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Mar 29 05:32:39 2021 +0000 |
tree | 761539b9474a3cf75ec26bb72f2d788e5b32931f | |
parent | edca52ab74d6c6670c556691cf3c0ad4a9ab0e2e [diff] | |
parent | 43dc028b9fbb86980bdd90374daad5d6f9afffaa [diff] |
Merge "Re-implement NetworkUtils#queryUserAccess." am: 43dc028b9f Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1650330 Change-Id: I1dd7913bacf5b92e35ec0a5b14da4d9b40513f21
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.