From f4ae8fe9f60bdcc0a3b266c1aa5570c5db0700c3 Mon Sep 17 00:00:00 2001 From: coderstory Date: Tue, 1 Jun 2021 22:53:21 +0800 Subject: [PATCH] remove unused hook --- app/src/main/java/toolkit/coderstory/CorePatchForR.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/toolkit/coderstory/CorePatchForR.java b/app/src/main/java/toolkit/coderstory/CorePatchForR.java index 79a1297..ab38baf 100644 --- a/app/src/main/java/toolkit/coderstory/CorePatchForR.java +++ b/app/src/main/java/toolkit/coderstory/CorePatchForR.java @@ -125,7 +125,6 @@ protected void beforeHookedMethod(MethodHookParam param) { } } }); - hookAllMethods(signingDetails, "checkCapability", XC_MethodReplacement.returnConstant(true)); // if app is system app, allow to use hidden api, even if app not using a system signature findAndHookMethod("android.content.pm.ApplicationInfo", loadPackageParam.classLoader, "isPackageWhitelistedForHiddenApis", new XC_MethodHook() {