Merge "New function signature for setResolverConfiguration" am: 8052930f4f
am: 12318b5b4e
Change-Id: I12d721a809646070900f81723a4d10f4635fec15
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