Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1a61cde authored by junyulai's avatar junyulai
Browse files

Remove references of NetworkAgentConfig constructor

This is hidden, use public Builder instead.

Test: TH
Bug: 182963397
Merged-In: Ib8ea2a17276cfd000e7003fc86d15458e1f82b39
Change-Id: Ib8ea2a17276cfd000e7003fc86d15458e1f82b39
  (cherry-picked from ag/13925162)
parent 557797e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1239,7 +1239,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);
+1 −1
Original line number Diff line number Diff line
@@ -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() {