Typo in `AfterHooker` class name (#2529)

a typo in the class name that caused afterHook to not work on the new
api
This commit is contained in:
Alexey 2023-05-12 04:21:07 +03:00 committed by GitHub
parent c76e0962f5
commit 4d4160ef5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ public final class XposedBridge {
try { try {
if (HookBridge.instanceOf(cb, XC_MethodHook.class)) { if (HookBridge.instanceOf(cb, XC_MethodHook.class)) {
((XC_MethodHook) cb).afterHookedMethod(param); ((XC_MethodHook) cb).afterHookedMethod(param);
} else if (HookBridge.instanceOf(cb, XposedInterface.AfterHookCallback.class)) { } else if (HookBridge.instanceOf(cb, XposedInterface.AfterHooker.class)) {
((XposedInterface.AfterHooker<T>) cb).after(param); ((XposedInterface.AfterHooker<T>) cb).after(param);
} }
} catch (Throwable t) { } catch (Throwable t) {