diff options
author | lucaslin <lucaslin@google.com> | 2021-03-12 16:11:27 +0800 |
---|---|---|
committer | lucaslin <lucaslin@google.com> | 2021-03-12 16:11:27 +0800 |
commit | b19b65730973dccae363ae84c8ed19c72bc5cf85 (patch) | |
tree | 345e3e02e9e84081f3998ca8ff6994892b58cdea /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e010b5d5b953fed06b0c5b403a3f96dc724932af (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
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testPrivateDnsPolicy
Change-Id: I02a1e91b4eafb5f5df3eada1c07b99849a050c3c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions