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:
parent
d802b115ed
commit
2edbef0fdb
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue