commit | 86ae725fb9832c50a244e2abe0d3c4a1d181a35c | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Tue Mar 23 00:57:38 2021 +0000 |
committer | Remi NGUYEN VAN <reminv@google.com> | Tue Mar 23 11:21:21 2021 +0000 |
tree | de2e1b1a59c01d7a2b5feb5b5574555ddff193d7 | |
parent | 49148d762db93e13ef0776c68df17563dce8921e [diff] [blame] |
Add NDK API for getprocdns,setprocdns The API allows callers to control the default network that is used for DNS hostname resolution. Test: atest CtsNetTestCases Tests in change I00143cafcd3eb1d71e8d5c7ea9c839a99dc6f4ce Bug: 171540887 Change-Id: I42f0d9b17b3058f6e10fd2e651278b290f26667f
diff --git a/native/android/libandroid_net.map.txt b/native/android/libandroid_net.map.txt index cc8dd72..a6c1b50 100644 --- a/native/android/libandroid_net.map.txt +++ b/native/android/libandroid_net.map.txt
@@ -16,6 +16,8 @@ android_res_nsend; # llndk # These functions have been part of the NDK since API 31. android_getprocnetwork; # llndk + android_setprocdns; # llndk + android_getprocdns; # llndk local: *; };