Use updated NetworkEventDispatcher API

(cherry picked from commit 1f4fa9ffd5)

Bug: 185153775
Test: m

Merged-In: Iae3cec4f751e1f74ccd26db6f22f55cf21dfc04a
Change-Id: I3259d8f23eebca7cb3e8ac507bb8c5b8774e85f1
This commit is contained in:
Orion Hodson
2021-05-25 21:02:02 +01:00
parent d2d0d82a1d
commit 1cb94175ea

View File

@@ -4916,7 +4916,7 @@ public class ConnectivityManager {
InetAddressCompat.clearDnsCache();
// Must flush socket pool as idle sockets will be bound to previous network and may
// cause subsequent fetches to be performed on old network.
NetworkEventDispatcher.getInstance().onNetworkConfigurationChanged();
NetworkEventDispatcher.getInstance().dispatchNetworkConfigurationChange();
}
return true;