rovo89 / XposedBridge

The Java part of the Xposed framework.
3.91k stars 1.1k forks source link

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

Open yuguorui opened 7 years ago

yuguorui commented 7 years ago

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 commented 7 years ago

Related to pull #143. Cheers.