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:
parent
c76e0962f5
commit
4d4160ef5f
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue