Merge "Use updated NetworkEventDispatcher API"

This commit is contained in:
vichang
2021-06-02 17:00:58 +00:00
committed by Gerrit Code Review

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;