Fix Android 8.1 (#2407)

This commit is contained in:
LoveSy 2023-02-27 16:30:34 +08:00 committed by GitHub
parent 9dfa88fa24
commit 88051f541e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -61,8 +61,7 @@ public class Startup {
ActivityThread.class, ApplicationInfo.class, CompatibilityInfo.class,
ClassLoader.class, boolean.class, boolean.class, boolean.class,
new LoadedApkCtorHooker());
XposedHelpers.findAndHookMethod(ActivityThread.class, "attach", boolean.class,
long.class, new AttachHooker());
XposedBridge.hookAllMethods(ActivityThread.class, "attach", new AttachHooker());
}
public static void bootstrapXposed() {