diff --git a/core/src/main/java/com/wind/xposed/entry/SandHookInitialization.java b/core/src/main/java/com/wind/xposed/entry/SandHookInitialization.java index 752d940..e964ac2 100644 --- a/core/src/main/java/com/wind/xposed/entry/SandHookInitialization.java +++ b/core/src/main/java/com/wind/xposed/entry/SandHookInitialization.java @@ -3,6 +3,7 @@ import android.content.Context; import android.util.Log; +import com.swift.sandhook.SandHook; import com.wind.xposed.entry.util.XpatchUtils; import java.lang.reflect.Field; @@ -23,6 +24,9 @@ public static void init(Context context) { // XposedCompat.context = context; // XposedCompat.classLoader = context.getClassLoader(); // XposedCompat.isFirstApplication = true; + SandHook.disableVMInline(); + SandHook.tryDisableProfile(context.getPackageName()); + SandHook.disableDex2oatInline(false); String SandHookConfigClassName = "com.swift.sandhook.SandHookConfig"; boolean isDebug = XpatchUtils.isApkDebugable(context);