File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
app/src/main/java/io/github/lsposed/disableflagsecure Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1919 uses : actions/checkout@v6
2020 with :
2121 repository : libxposed/api
22- ref : 64e29bd657ef4d2540b34402f5a988778f29e676
22+ ref : rfc
2323 path : libxposed/api
2424 fetch-depth : 0
2525
Original file line number Diff line number Diff line change @@ -413,8 +413,8 @@ public Object intercept(@NonNull Chain chain) throws Throwable {
413413 return chain .proceed (args );
414414 }
415415 }
416- module .log (Log .ERROR , TAG , "flag not found in CreateVirtualDisplayLockedHooker" );
417- return null ;
416+ module .log (Log .WARN , TAG , "flag not found in CreateVirtualDisplayLockedHooker" );
417+ return chain . proceed () ;
418418 }
419419 }
420420
@@ -429,14 +429,14 @@ public Object intercept(@NonNull Chain chain) throws Throwable {
429429 .limit (6 )
430430 .skip (2 )
431431 .anyMatch (s -> s .equals ("setInitialSurfaceControlProperties" ) || s .equals ("createSurfaceLocked" )));
432- if (match ) chain .proceed ();
432+ if (match ) return chain .proceed ();
433433 } else {
434434 var stackTrace = new Throwable ().getStackTrace ();
435435 for (int i = 4 ; i < stackTrace .length && i < 8 ; i ++) {
436436 var name = stackTrace [i ].getMethodName ();
437437 if (name .equals ("setInitialSurfaceControlProperties" ) ||
438438 name .equals ("createSurfaceLocked" )) {
439- chain .proceed ();
439+ return chain .proceed ();
440440 }
441441 }
442442 }
You can’t perform that action at this time.
0 commit comments