Check for VPN

This commit is contained in:
M66B
2020-02-12 12:56:19 +01:00
parent 2460e6c08d
commit 033efe23d3
3 changed files with 34 additions and 0 deletions

View File

@@ -969,6 +969,8 @@ public class Log {
NetworkCapabilities caps = cm.getNetworkCapabilities(network);
size += write(os, (network.equals(active) ? "active=" : "network=") + network + " capabilities=" + caps + "\r\n\r\n");
}
size += write(os, "VPN active=" + ConnectionHelper.vpnActive(context) + "\r\n\r\n");
}
db.attachment().setDownloaded(attachment.id, size);