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

Commit 91d83954 authored by Jerome Gaillard's avatar Jerome Gaillard
Browse files

Ignore density in AdaptiveIconDrawable

This was introduced in Change Iaa9a5592.

Test: layoutlib tests
Change-Id: Id4c9f3e75de174106aa086b29cd7d12fa36b0e61
parent 75f22837
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -699,6 +699,14 @@ public final class BridgeTypedArray extends TypedArray {
        return ResourceHelper.getDrawable(value, mContext, mTheme);
    }

    /**
     * Version of {@link #getDrawable(int)} that accepts an override density.
     * @hide
     */
    @Override
    public Drawable getDrawableForDensity(int index, int density) {
        return getDrawable(index);
    }

    /**
     * Retrieve the Typeface for the attribute at <var>index</var>.