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

Commit b98c5989 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Update the http proxy on LinkProperty change.

bug:16308315
Change-Id: Ie44634a9223f289903c09653f77a998d3a344654
parent 306908f2
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -4196,6 +4196,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
        final boolean flushDns = updateRoutes(newLp, oldLp, netId);
        final boolean flushDns = updateRoutes(newLp, oldLp, netId);
        updateDnses(newLp, oldLp, netId, flushDns);
        updateDnses(newLp, oldLp, netId, flushDns);
        updateClat(newLp, oldLp, networkAgent);
        updateClat(newLp, oldLp, networkAgent);
        if (isDefaultNetwork(networkAgent)) handleApplyDefaultProxy(newLp.getHttpProxy());
    }
    }


    private void updateClat(LinkProperties newLp, LinkProperties oldLp, NetworkAgentInfo na) {
    private void updateClat(LinkProperties newLp, LinkProperties oldLp, NetworkAgentInfo na) {