1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-24 23:23:08 +00:00

Refactoring, prevent crash

This commit is contained in:
M66B 2016-03-01 08:44:56 +01:00
parent d802b115ed
commit 2edbef0fdb

View file

@ -614,7 +614,7 @@ public class Util {
for (Network network : cm.getAllNetworks()) {
NetworkInfo ni = cm.getNetworkInfo(network);
if (ni != null)
listNI.add(cm.getNetworkInfo(network));
listNI.add(ni);
}
for (NetworkInfo ni : listNI) {