We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2dfdf4 commit 41aa215Copy full SHA for 41aa215
MuteSlf4jWarnings/src/main/java/de/binarynoise/MuteSlf4jWarnings/Hook.kt
@@ -20,7 +20,7 @@ class Hook : IXposedHookLoadPackage {
20
override fun beforeHookedMethod(param: MethodHookParam) {
21
val msg = param.args[0] as String
22
if (msg.startsWith("SLF4J:")) {
23
- param.setResult(Unit)
+ param.result = null // used to trigger returnEarly
24
}
25
26
0 commit comments