Use updated NetworkEventDispatcher API
Bug: 185153775 Ignore-AOSP-First: addressing API council comments with deadline Test: m Change-Id: Iae3cec4f751e1f74ccd26db6f22f55cf21dfc04a
This commit is contained in:
@@ -4918,7 +4918,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;
|
||||
|
||||
Reference in New Issue
Block a user