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

Commit 17bbe5e6 authored by d34d's avatar d34d Committed by Clark Scheff
Browse files

Themes: include new icon features in shouldComposeIcon()

Change-Id: I509ae1989fe1ec701cec7bc6ead78ab4e69bd64d
parent 342d0160
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -573,8 +573,15 @@ public class IconPackHelper {

    public static boolean shouldComposeIcon(ComposedIconInfo iconInfo) {
        return iconInfo != null &&
                (iconInfo.iconBacks != null || iconInfo.iconMask != 0 ||
                        iconInfo.iconUpon != 0 || iconInfo.colorFilter != null);
                (iconInfo.iconBacks != null ||
                        iconInfo.iconMask != 0 ||
                        iconInfo.iconUpon != 0 ||
                        iconInfo.colorFilter != null ||
                        iconInfo.iconPaletteBack != 0 ||
                        iconInfo.iconRotation != 0 ||
                        iconInfo.iconRotationVariance != 0 ||
                        iconInfo.iconTranslationX != 0 ||
                        iconInfo.iconTranslationY != 0);
    }

    public static class IconCustomizer {