Merge "Remove 'hasDns' parameter"

am: fa9ee4fad7

Change-Id: I7efc2ff04cf65420b02ddf2cf7a13b640e37ef77
This commit is contained in:
Ken Chen
2018-12-18 10:38:59 -08:00
committed by android-build-merger

View File

@@ -5714,7 +5714,6 @@ public class ConnectivityService extends IConnectivityManager.Stub
// This should never fail. Specifying an already in use NetID will cause failure.
if (networkAgent.isVPN()) {
mNMS.createVirtualNetwork(networkAgent.network.netId,
!networkAgent.linkProperties.getDnsServers().isEmpty(),
(networkAgent.networkMisc == null ||
!networkAgent.networkMisc.allowBypass));
} else {