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

Commit

Permalink
Failsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed May 27, 2015
1 parent 8413a53 commit 802f9a0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/biz/bokhorst/xprivacy/XPrivacy.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,12 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
XposedBridge.hookAllConstructors(am, new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
PrivacyService.register(mListHookError, loader, mSecret, param.thisObject);
hookSystem(loader);
try {
PrivacyService.register(mListHookError, loader, mSecret, param.thisObject);
hookSystem(loader);
} catch (Throwable ex) {
Util.bug(null, ex);
}
}
});
} catch (Throwable ex) {
Expand Down

0 comments on commit 802f9a0

Please sign in to comment.