diff --git a/src/biz/bokhorst/xprivacy/XPrivacy.java b/src/biz/bokhorst/xprivacy/XPrivacy.java index 09f51425e..611acfde2 100644 --- a/src/biz/bokhorst/xprivacy/XPrivacy.java +++ b/src/biz/bokhorst/xprivacy/XPrivacy.java @@ -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) {