Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0eac32be authored by Diego Perez's avatar Diego Perez Committed by android-build-merger
Browse files

Fix bug in PropertyValuesHolder_Delegate method index

am: ada8c117

* commit 'ada8c117':
  Fix bug in PropertyValuesHolder_Delegate method index
parents 6952063e ada8c117
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);