Merge "New function signature for setResolverConfiguration"
am: 8052930f4f
Change-Id: I1a2efbabc765dd1ff66316332cd69b221deff83b
This commit is contained in:
@@ -1980,8 +1980,12 @@ public class NetworkManagementService extends INetworkManagementService.Stub
|
|||||||
|
|
||||||
final String[] domainStrs = domains == null ? new String[0] : domains.split(" ");
|
final String[] domainStrs = domains == null ? new String[0] : domains.split(" ");
|
||||||
final int[] params = { sampleValidity, successThreshold, minSamples, maxSamples };
|
final int[] params = { sampleValidity, successThreshold, minSamples, maxSamples };
|
||||||
|
final boolean useTls = false;
|
||||||
|
final String tlsHostname = "";
|
||||||
|
final String[] tlsFingerprints = new String[0];
|
||||||
try {
|
try {
|
||||||
mNetdService.setResolverConfiguration(netId, servers, domainStrs, params);
|
mNetdService.setResolverConfiguration(netId, servers, domainStrs, params,
|
||||||
|
useTls, tlsHostname, tlsFingerprints);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user