Skip to content

Commit 4314eb6

Browse files
committed
Frida detection added
1 parent 58ccc1a commit 4314eb6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ public class SecurityConfigManager {
99
public static void initialize(Context context, SecurityChecker.SecurityConfig configuration) {
1010
config = configuration;
1111
securityChecker = new SecurityChecker(context, configuration);
12-
securityChecker.startFridaDetection();
12+
if (configuration.getRootCheck() != SecurityChecker.SecurityCheckState.DISABLED) {
13+
securityChecker.startFridaDetection();
14+
}
1315
}
1416

1517
public static SecurityChecker getSecurityChecker() {

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ dependencyResolutionManagement {
1717

1818
rootProject.name = "protect"
1919
include ':protect'
20-
// include ':app'
20+
include ':app'

0 commit comments

Comments
 (0)