Update the http proxy on LinkProperty change.

bug:16308315
Change-Id: Ie44634a9223f289903c09653f77a998d3a344654
This commit is contained in:
Robert Greenwalt
2014-08-23 09:51:35 -07:00
parent 222d91c66b
commit 63815c59c5

View File

@@ -4196,6 +4196,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
final boolean flushDns = updateRoutes(newLp, oldLp, netId);
updateDnses(newLp, oldLp, netId, flushDns);
updateClat(newLp, oldLp, networkAgent);
if (isDefaultNetwork(networkAgent)) handleApplyDefaultProxy(newLp.getHttpProxy());
}
private void updateClat(LinkProperties newLp, LinkProperties oldLp, NetworkAgentInfo na) {