Skip to content

Commit b73f3ef

Browse files
committed
We had missed pulling the changes for bump 0.2.3 and the network error handling earlier by mistake. These updates have now been properly integrated into the project.
1 parent 4314eb6 commit b73f3ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protect/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = 'com.github.webileapps'
7-
version = '0.2.0'
7+
version = '0.2.3'
88

99
android {
1010
namespace 'com.webileapps.safeguard'

protect/src/main/java/com/webileapps/safeguard/SecurityChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ public SecurityCheck checkNetworkSecurity() {
497497
NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network);
498498

499499
if (capabilities == null) {
500-
return createNetworkSecurityResponse("No active network connection");
500+
return new SecurityCheck.Success();
501501
} else if (NetworkUtils.isVPNActive(context)) {
502502
return createNetworkSecurityResponse(context.getString(R.string.vpn_warning));
503503
} else if (NetworkUtils.isProxySet(context)) {

0 commit comments

Comments
 (0)