diff options
author | lucaslin <lucaslin@google.com> | 2021-03-12 17:56:09 +0800 |
---|---|---|
committer | lucaslin <lucaslin@google.com> | 2021-03-12 17:56:09 +0800 |
commit | c4fa37b00bb9531995dcc5e0a08bc0b553806e8b (patch) | |
tree | 63a606ae9a61e738421b796b4fcc6a36969bbab6 /rs/java/android/renderscript/ScriptIntrinsic.java | |
parent | fe4b43da67341b6a5fc6ee6f0e03b0b3b9f78772 (diff) |
Have a new API to get private DNS mode
- Expose PRIVATE_DNS_MODE_OFF, PRIVATE_DNS_MODE_OPPORTUNISTIC and
PRIVATE_DNS_MODE_PROVIDER_HOSTNAME for external users.
- Since PRIVATE_DNS_DEFAULT_MODE_FALLBACK might be changed from
release to release, so it cannot be exposed as a system API.
Remove PRIVATE_DNS_DEFAULT_MODE_FALLBACK and have a new API -
getPrivateDnsMode() for users to get the private DNS mode instead.
Bug: 172183305
Test: atest FrameworksNetTests CtsNetTestCases
Change-Id: I02a1e91b4eafb5f5df3eada1c07b99849a050c3c
Merged-In: I02a1e91b4eafb5f5df3eada1c07b99849a050c3c
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsic.java')
0 files changed, 0 insertions, 0 deletions