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 4d955f4 commit c4cf05fCopy full SHA for c4cf05f
BetterVerboseWiFiLogging/src/main/java/de/binarynoise/betterVerboseWiFiLogging/Hook.kt
@@ -38,7 +38,12 @@ class Hook : IXposedHookLoadPackage {
38
}
39
40
listOf(WifiEntry.getScanResultDescription, StandardWifiEntry.getScanResultDescription).forEach {
41
- XposedBridge.hookMethod(it, hook)
+ try {
42
+ XposedBridge.hookMethod(it, hook)
43
+ } catch (e: IllegalArgumentException) {
44
+ // ignore IllegalArgumentException: Cannot hook abstract methods
45
+ if (e.message?.contains("abstract") != true) throw e
46
+ }
47
48
49
0 commit comments