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

Commit e4acf0ad authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am ad16968d: am 6eef1246: LayoutLib: Skip classes from java package. [DO NOT MERGE]

* commit 'ad16968d':
  LayoutLib: Skip classes from java package. [DO NOT MERGE]
parents 7911c8b9 ad16968d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -307,7 +307,9 @@ public class DependencyFinder {

            try {
                // exclude classes that are part of the default JRE (the one executing this program)
                if (getClass().getClassLoader().loadClass(className) != null) {
                // or in java package (we won't be able to load them anyway).
                if (className.startsWith("java.") ||
                        getClass().getClassLoader().loadClass(className) != null) {
                    return;
                }
            } catch (ClassNotFoundException e) {