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

Commit 10149b66 authored by Andrew Cole's avatar Andrew Cole
Browse files

Always Return Adaptive Icon

As part of a cleanup for how we deal with legacy icons, we are consolidating our handling of how we wrap non-adaptive icons in an adaptive icon format. This requires adding a parameter to make these functions conform to their earlier specifications.

Bug: 318867282
Flag: None
Test: AllAppsSearchImageTest
Change-Id: I002c430646f8933c638b78a409c9766b6328838a
parent bc549958
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -639,7 +639,7 @@ public final class Utilities {
        } else {
            // Wrap the main icon in AID
            try (LauncherIcons li = LauncherIcons.obtain(context)) {
                result = li.wrapToAdaptiveIcon(mainIcon);
                result = li.wrapToAdaptiveIcon(mainIcon, null);
            }
        }
        if (result == null) {