Fix bug in PropertyValuesHolder_Delegate method index am: ada8c117b1

am: 0eac32be0b

* commit '0eac32be0b7804184ad5e61af87f79d45b82c6b2':
  Fix bug in PropertyValuesHolder_Delegate method index
This commit is contained in:
Diego Perez
2016-01-19 15:53:12 +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);