Update the http proxy on LinkProperty change.
bug:16308315 Change-Id: Ie44634a9223f289903c09653f77a998d3a344654
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user