Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

A little mistake in the example of the Xposed Framework API. #159

Open
yuguorui opened this issue Feb 12, 2017 · 1 comment
Open

A little mistake in the example of the Xposed Framework API. #159

yuguorui opened this issue Feb 12, 2017 · 1 comment

Comments

@yuguorui
Copy link

When I surfed the Xposed framework API website, I found a little mistake in the [XposedHelpers.findAndHookMethod()](http://api.xposed.info/reference/de/robv/android/xposed/XposedHelpers.html#findAndHookMethod(java.lang.String, java.lang.ClassLoader, java.lang.String, java.lang.Object...))'s example.

In this example, the third parameter should be "methodName", but it was forgotten accidentally.
correct: findAndHookMethod("com.example.SomeClass", lpparam.classLoader, "doSomething",String.class, int.class, "com.example.MyClass", new XC_MethodHook()
wrong: findAndHookMethod("com.example.SomeClass", lpparam.classLoader, String.class, int.class, "com.example.MyClass", new XC_MethodHook()

@davcec
Copy link

davcec commented Nov 8, 2017

Related to pull #143.
Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants