Use updated NetworkEventDispatcher API

(cherry picked from commit a0ce8ac42c)

Bug: 185153775
Test: m
Merged-In: Ib5ea04b0bae0dce9783c4017f1dd0db0efd49976
Change-Id: Iaace4df9dc76b9dd099a1b4d9f4cf762edf41d29
This commit is contained in:
Orion Hodson
2021-05-25 21:00:43 +01:00
parent 766605521e
commit f53e23b917

View File

@@ -1123,7 +1123,7 @@ public final class ActivityThread extends ClientTransactionHandler {
InetAddress.clearDnsCache();
// Allow libcore to perform the necessary actions as it sees fit upon a network
// configuration change.
NetworkEventDispatcher.getInstance().onNetworkConfigurationChanged();
NetworkEventDispatcher.getInstance().dispatchNetworkConfigurationChange();
}
public void updateHttpProxy() {