mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-21 23:33:21 +00:00
Improved logging
This commit is contained in:
parent
69e2a37200
commit
1f56b996f5
1 changed files with 1 additions and 1 deletions
|
@ -1243,7 +1243,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
|||
ConnectivityManager cm = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE);
|
||||
Network active = (cm == null ? null : cm.getActiveNetwork());
|
||||
if (active != null) {
|
||||
Log.i(TAG, "Setting underlying network=" + cm.getNetworkInfo(active));
|
||||
Log.i(TAG, "Setting underlying network=" + active + " " + cm.getNetworkInfo(active));
|
||||
setUnderlyingNetworks(new Network[]{active});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue