Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Fixed hooking base constructors
Browse files Browse the repository at this point in the history
Closes #1431
Refs #1420
  • Loading branch information
M66B committed Feb 23, 2014
1 parent 478c79d commit 592cf84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Changelog

**Next release**

* Fixed hooking base constructors ([issue](/../../issues/1431))
* Restrict all *view* actions, show parameters and whitelisting ([issue](/../../issues/1419))
* You might see a few more messages *Restricted by XPrivacy* because of this
* Improved usage data layout, option to copy parameters ([issue](/../../issues/1424))
Expand Down
1 change: 1 addition & 0 deletions src/biz/bokhorst/xprivacy/XPrivacy.java
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
for (Constructor<?> constructor : clazz.getDeclaredConstructors())
if (Modifier.isPublic(constructor.getModifiers()) ? hook.isVisible() : !hook.isVisible())
listMember.add(constructor);
break;
} else {
for (Method method : clazz.getDeclaredMethods())
if (method.getName().equals(hook.getMethodName())
Expand Down

0 comments on commit 592cf84

Please sign in to comment.