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() {