am c101c56e: Use resetConnections with resetMask.
* commit 'c101c56ecc4d6a0440225ed8550faa09dc4cd81b': Use resetConnections with resetMask.
This commit is contained in:
@@ -1449,8 +1449,10 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
if (linkProperties != null) {
|
||||
String iface = linkProperties.getInterfaceName();
|
||||
if (TextUtils.isEmpty(iface) == false) {
|
||||
if (DBG) log("resetConnections(" + iface + ")");
|
||||
NetworkUtils.resetConnections(iface);
|
||||
if (DBG) {
|
||||
log("resetConnections(" + iface + ", NetworkUtils.RESET_ALL_ADDRESSES)");
|
||||
}
|
||||
NetworkUtils.resetConnections(iface, NetworkUtils.RESET_ALL_ADDRESSES);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user