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

Commit 350f6bf0 authored by fbaron's avatar fbaron
Browse files

Remove white background from shortcuts in widget picker

Bug: 295901350
Test: Verify that in widget picker the shortcuts have no white background
Flag: no flag
Change-Id: I6f2d732216f45bb3c64b068a693fbcfef3ac0657
parent 9f34a29d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -257,8 +257,6 @@ public class DatabaseWidgetPreviewLoader {
            throw new RuntimeException("Max size is too small for preview");
        }
        return BitmapRenderer.createHardwareBitmap(size, size, c -> {
            drawBoxWithShadow(c, size, size);

            LauncherIcons li = LauncherIcons.obtain(mContext);
            Drawable icon = li.createBadgedIconBitmap(
                    mutateOnMainThread(info.getFullResIcon(