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

Commit e9b4fd07 authored by Jeff Hao's avatar Jeff Hao Committed by Gerrit Code Review
Browse files

Merge "Mark constructor as accessible in LayoutInflater."

parents d511bc17 e3abd2cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -591,6 +591,7 @@ public abstract class LayoutInflater {
            Object[] args = mConstructorArgs;
            args[1] = attrs;

            constructor.setAccessible(true);
            final View view = constructor.newInstance(args);
            if (view instanceof ViewStub) {
                // always use ourselves when inflating ViewStub later