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

Commit 90ab0475 authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Fix behavior of inflating InsetDrawable" into lmp-dev

parents 66a75e5e 014e14b2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -86,6 +86,8 @@ public class InsetDrawable extends Drawable implements Drawable.Callback {
            throws XmlPullParserException, IOException {
        final TypedArray a = r.obtainAttributes(attrs, R.styleable.InsetDrawable);
        super.inflateWithAttributes(r, parser, a, R.styleable.InsetDrawable_visible);

        mInsetState.mDrawable = null;
        updateStateFromTypedArray(a);

        // Load inner XML elements.