Use updated NetworkEventDispatcher API
(cherry picked from commit 1f4fa9ffd5)
Bug: 185153775
Test: m
Merged-In: Iae3cec4f751e1f74ccd26db6f22f55cf21dfc04a
Change-Id: I3259d8f23eebca7cb3e8ac507bb8c5b8774e85f1
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