Fix bug in PropertyValuesHolder_Delegate method index

am: ada8c117b1

* commit 'ada8c117b197dd61bd472399147dd18ff337a204':
  Fix bug in PropertyValuesHolder_Delegate method index
This commit is contained in:
Diego Perez
2016-01-19 15:49:16 +00:00
committed by android-build-merger

View File

@@ -64,7 +64,8 @@ class PropertyValuesHolder_Delegate {
private static long registerMethod(Class<?> targetClass, String methodName, Class[] types,
int nArgs) {
// Encode the number of arguments in the method name
String methodIndexName = String.format("%1$s#%2$d", methodName, nArgs);
String methodIndexName = String.format("%1$s.%2$s#%3$d", targetClass.getSimpleName(),
methodName, nArgs);
synchronized (sMethodIndexLock) {
Long methodId = METHOD_NAME_TO_ID.get(methodIndexName);