Merge "Use updated NetworkEventDispatcher API"
This commit is contained in:
@@ -4916,7 +4916,7 @@ public class ConnectivityManager {
|
|||||||
InetAddressCompat.clearDnsCache();
|
InetAddressCompat.clearDnsCache();
|
||||||
// Must flush socket pool as idle sockets will be bound to previous network and may
|
// Must flush socket pool as idle sockets will be bound to previous network and may
|
||||||
// cause subsequent fetches to be performed on old network.
|
// cause subsequent fetches to be performed on old network.
|
||||||
NetworkEventDispatcher.getInstance().onNetworkConfigurationChanged();
|
NetworkEventDispatcher.getInstance().dispatchNetworkConfigurationChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user