File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
protect/src/main/java/com/webileapps/safeguard Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ public class SecurityConfigManager {
9
9
public static void initialize (Context context , SecurityChecker .SecurityConfig configuration ) {
10
10
config = configuration ;
11
11
securityChecker = new SecurityChecker (context , configuration );
12
- securityChecker .startFridaDetection ();
12
+ if (configuration .getRootCheck () != SecurityChecker .SecurityCheckState .DISABLED ) {
13
+ securityChecker .startFridaDetection ();
14
+ }
13
15
}
14
16
15
17
public static SecurityChecker getSecurityChecker () {
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ dependencyResolutionManagement {
17
17
18
18
rootProject. name = " protect"
19
19
include ' :protect'
20
- // include ':app'
20
+ include ' :app'
You can’t perform that action at this time.
0 commit comments