Commit e5b970fb authored by ganyao114's avatar ganyao114

Update README.md

parent aec12258
...@@ -156,11 +156,13 @@ XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook() ...@@ -156,11 +156,13 @@ XposedHelpers.findAndHookMethod(Activity.class, "onResume", new XC_MethodHook()
``` ```
# Notice # Notice
!!!!!!!!
!!!!!!!!
when OS >= 8.0 when OS >= 8.0
you must call backup method in hook method, if you want call it in other method, please call SandHook.compileMethod(otherMethod) before call backup method. you must call backup method in hook method, if you want call it in other method, please call SandHook.compileMethod(otherMethod) before call backup method.
because when ART trigger JIT form profiling, JIT will invoke -> ResolveCompilingMethodsClass -> ClassLinker::ResolveMethod -> CheckIncompatibleClassChange -> ThrowIncompatibleClassChangeError fianlly!!! because when ART trigger JIT from profiling, JIT will invoke -> ResolveCompilingMethodsClass -> ClassLinker::ResolveMethod -> CheckIncompatibleClassChange -> ThrowIncompatibleClassChangeError finally!!!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment