Receive all the resolver info from ConnectivityService
Note that as of this change we still only program bionic with one
set of servers (TLS if available, locally assigned otherwise). This
will be remedied in a future change.
Test: ./system/netd/tests/runtests.sh
Test: manual testing of opportunistic and strictm mode works
Bug: 34953048
Bug: 64133961
Bug: 72345192
Change-Id: I6a0ec6672ce88e61118b34ed03818bbf53158103
diff --git a/server/ResolverController.h b/server/ResolverController.h
index ff8c715..b67481f 100644
--- a/server/ResolverController.h
+++ b/server/ResolverController.h
@@ -61,7 +61,7 @@
// actual data structures, and call setDnsServer() / getDnsInfo() for the actual processing.
int setResolverConfiguration(int32_t netId, const std::vector<std::string>& servers,
const std::vector<std::string>& domains, const std::vector<int32_t>& params,
- bool useTls, const std::string& tlsName,
+ const std::string& tlsName, const std::vector<std::string>& tlsServers,
const std::set<std::vector<uint8_t>>& tlsFingerprints);
int getResolverInfo(int32_t netId, std::vector<std::string>* servers,