From 7bbbe404a7705f223344d05457728691a59e74dc Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 19 Feb 2014 20:53:26 +0100 Subject: [PATCH] Hook all super class methods Refs #1366 --- src/biz/bokhorst/xprivacy/XPrivacy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/biz/bokhorst/xprivacy/XPrivacy.java b/src/biz/bokhorst/xprivacy/XPrivacy.java index d066c6fe9..4bd931ada 100644 --- a/src/biz/bokhorst/xprivacy/XPrivacy.java +++ b/src/biz/bokhorst/xprivacy/XPrivacy.java @@ -377,7 +377,7 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable { // if (isNative) // registerNativeMethod(hook, method, unhook); } - clazz = (hookSet.isEmpty() ? clazz.getSuperclass() : null); + clazz = clazz.getSuperclass(); } // Check if found