Skip to content

Commit

Permalink
remove unused hook
Browse files Browse the repository at this point in the history
  • Loading branch information
coderstory committed Jun 1, 2021
1 parent 65b6462 commit f4ae8fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/main/java/toolkit/coderstory/CorePatchForR.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f4ae8fe

Please sign in to comment.