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

Commit 7aaeb452 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Always have the current iconShape in BaseIconFactory irrespective of full-bleed setting

IconShape.EMPTY will be used for icons created outside of BaseIconFactory

Bug: 427109551
Flag: EXEMPT bugfix
Test: Verified manually on device
Change-Id: I4c50e7a11d76c00b8fbe6b85888e662e9937b0ad
parent e32dcb7a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -262,7 +262,6 @@ public class BaseIconFactory implements AutoCloseable {
     * Generates an IconShape based on the current bitmap size and default icon mask.
     */
    public IconShape getDefaultIconShape() {
        if (!mDrawFullBleedIcons) return IconShape.EMPTY;
        if (mDefaultIconShape != null) return mDefaultIconShape;
        AdaptiveIconDrawable tempAdaptiveIcon =
                new AdaptiveIconDrawable(new ColorDrawable(BLACK), null);