Merge "Remove 'hasDns' parameter" am: fa9ee4fad7
am: b2afafdb9c
Change-Id: I43080dc7922ab6b8b1c61f7a2542dd8cead45bc5
This commit is contained in:
@@ -5714,7 +5714,6 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
// This should never fail. Specifying an already in use NetID will cause failure.
|
// This should never fail. Specifying an already in use NetID will cause failure.
|
||||||
if (networkAgent.isVPN()) {
|
if (networkAgent.isVPN()) {
|
||||||
mNMS.createVirtualNetwork(networkAgent.network.netId,
|
mNMS.createVirtualNetwork(networkAgent.network.netId,
|
||||||
!networkAgent.linkProperties.getDnsServers().isEmpty(),
|
|
||||||
(networkAgent.networkMisc == null ||
|
(networkAgent.networkMisc == null ||
|
||||||
!networkAgent.networkMisc.allowBypass));
|
!networkAgent.networkMisc.allowBypass));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user