Commit 9fdd0a05 authored by swift_gan's avatar swift_gan

add hook in log

parent a19895ec
......@@ -222,6 +222,8 @@ public class HookStubManager {
Member originMethod = originMethods[id];
HookMethodEntity entity = hookMethodEntities[id];
DexLog.printMethodHookIn(originMethod);
Object[] snapshot = hookCallbacks.get(originMethod).getSnapshot();
if (snapshot == null || snapshot.length == 0)
return callOrigin.call(stubArgs);
......
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