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

Commit 7651dec5 authored by Mathieu Chartier's avatar Mathieu Chartier Committed by Android Git Automerger
Browse files

am 097e1cdf: am 765d7c30: am ba6783b6: Merge "Update...

am 097e1cdf: am 765d7c30: am ba6783b6: Merge "Update getExportedPropertyMethods to new reflection API"

* commit '097e1cdf':
  Update getExportedPropertyMethods to new reflection API
parents 825af5fb 097e1cdf
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1040,14 +1040,10 @@ public class ViewDebug {
            return methods;
        }

        final ArrayList<Method> declaredMethods = new ArrayList();
        klass.getDeclaredMethodsUnchecked(false, declaredMethods);
        methods = klass.getDeclaredMethodsUnchecked(false);

        final ArrayList<Method> foundMethods = new ArrayList<Method>();
        final int count = declaredMethods.size();
        for (int i = 0; i < count; i++) {
            final Method method = declaredMethods.get(i);

        for (final Method method : methods) {
            // Ensure the method return and parameter types can be resolved.
            try {
                method.getReturnType();