Remove references of NetworkAgentConfig constructor am: a1a61cde9c am: ddc41d43c7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1645294

Change-Id: I0f0e1c9631afdcd8fbf611bc67091ca015ee9acf
This commit is contained in:
junyulai
2021-03-19 12:26:19 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 2 deletions

View File

@@ -1240,7 +1240,7 @@ public class Vpn {
mLegacyState = LegacyVpnInfo.STATE_CONNECTING;
updateState(DetailedState.CONNECTING, "agentConnect");
NetworkAgentConfig networkAgentConfig = new NetworkAgentConfig();
NetworkAgentConfig networkAgentConfig = new NetworkAgentConfig.Builder().build();
networkAgentConfig.allowBypass = mConfig.allowBypass && !mLockdown;
mNetworkCapabilities.setOwnerUid(mOwnerUID);

View File

@@ -1441,7 +1441,7 @@ public class VcnGatewayConnection extends StateMachine {
caps,
lp,
Vcn.getNetworkScore(),
new NetworkAgentConfig(),
new NetworkAgentConfig.Builder().build(),
mVcnContext.getVcnNetworkProvider()) {
@Override
public void unwanted() {