Remove log of throwable in XC_MethodReplacement.java (#111)
Developers can get the throwable using the [XC_MethodHook.MethodHookParam API](https://api.xposed.info/reference/de/robv/android/xposed/XC_MethodHook.MethodHookParam.html).
Logging such throwable will leave unintended trace to the log buffer of the hooked application.
Note: this line of adding log was added in commit 7b638a706d
This commit is contained in:
parent
dd08eb3e1e
commit
e2070858c6
|
|
@ -51,7 +51,6 @@ public abstract class XC_MethodReplacement extends XC_MethodHook {
|
||||||
Object result = replaceHookedMethod(param);
|
Object result = replaceHookedMethod(param);
|
||||||
param.setResult(result);
|
param.setResult(result);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
XposedBridge.log(t);
|
|
||||||
param.setThrowable(t);
|
param.setThrowable(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue