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:
RichardLuo 2024-12-03 21:27:16 +08:00 committed by GitHub
parent dd08eb3e1e
commit e2070858c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ public abstract class XC_MethodReplacement extends XC_MethodHook {
Object result = replaceHookedMethod(param);
param.setResult(result);
} catch (Throwable t) {
XposedBridge.log(t);
param.setThrowable(t);
}
}