File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Ports/Android/src/com/codename1/impl/android Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -83,14 +83,17 @@ public static boolean isFridaPropertySet() {
8383 try {
8484 List <String > suspiciousProperties = new ArrayList <String >();
8585 suspiciousProperties .add (getSystemProperty ("ro.debuggable" ));
86- suspiciousProperties .add (getSystemProperty ("ro.secure" ));
8786
8887 for (String property : suspiciousProperties ) {
8988 if ("1" .equals (property )) {
9089 Log .e (TAG , "Suspicious system property detected: " + property );
9190 return true ;
9291 }
9392 }
93+ if ("0" .equals (getSystemProperty ("ro.secure" ))) {
94+ Log .e (TAG , "Suspicious system property detected: ro.secure=0" );
95+ return true ;
96+ }
9497 } catch (Exception e ) {
9598 Log .e (TAG , "Error checking for Frida properties: " + e .getMessage ());
9699 }
You can’t perform that action at this time.
0 commit comments