Merge "ArrayMap for mIpToNetworksMap" into main
This commit is contained in:
commit
adfbfab056
1 changed files with 1 additions and 1 deletions
|
|
@ -2142,7 +2142,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
}
|
||||
|
||||
if (mDeps.flagConnectivityServiceDestroySocket()) {
|
||||
mIpToNetworksMap = new HashMap<>();
|
||||
mIpToNetworksMap = new ArrayMap<>();
|
||||
mAddressUpdateMonitor = mDeps.makeAddressUpdateMonitor(
|
||||
mHandler, new SharedLog(20, TAG), TAG,
|
||||
this::processNetlinkAddressUpdateMessage);
|
||||
|
|
|
|||
Loading…
Reference in a new issue