mirror of
https://github.com/LSPosed/DisableFlagSecure.git
synced 2025-05-04 22:43:25 +08:00
support scrcpy
This commit is contained in:
parent
aa56f32b6a
commit
a5461af177
@ -384,7 +384,7 @@ public class DisableFlagSecure extends XposedModule {
|
|||||||
@BeforeInvocation
|
@BeforeInvocation
|
||||||
public static void before(@NonNull BeforeHookCallback callback) {
|
public static void before(@NonNull BeforeHookCallback callback) {
|
||||||
var caller = (int) callback.getArgs()[2];
|
var caller = (int) callback.getArgs()[2];
|
||||||
if (caller != 1000 && callback.getArgs()[1] == null) {
|
if (caller >= 10000 && callback.getArgs()[1] == null) {
|
||||||
// not os and not media projection
|
// not os and not media projection
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user