@@ -157,6 +157,8 @@ XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook()
...
@@ -157,6 +157,8 @@ XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook()
# Notice
# Notice
## Call Origin
!!!!!!!!
!!!!!!!!
when OS >= 8.0
when OS >= 8.0
...
@@ -165,6 +167,14 @@ you must call backup method in hook method, if you want call it in other method,
...
@@ -165,6 +167,14 @@ you must call backup method in hook method, if you want call it in other method,
because when ART trigger JIT from profiling, JIT will invoke -> ResolveCompilingMethodsClass -> ClassLinker::ResolveMethod -> CheckIncompatibleClassChange -> ThrowIncompatibleClassChangeError finally!!!
because when ART trigger JIT from profiling, JIT will invoke -> ResolveCompilingMethodsClass -> ClassLinker::ResolveMethod -> CheckIncompatibleClassChange -> ThrowIncompatibleClassChangeError finally!!!
## Inline
we can do nothing to prevent some methods been inlined before app start, but we can try to disable VM Jit Inline after launch.
if you will hook some method that could be inlined, please call SandHook.disableVMInline()(OS >= 7.0) in Application.OnCreate()