commit | 350f6bf0b5ba4d8411acd6071275b08b6d94f129 | [log] [tgz] |
---|---|---|
author | fbaron <fbaron@google.com> | Mon Oct 16 11:40:14 2023 -0700 |
committer | fbaron <fbaron@google.com> | Mon Oct 16 11:40:14 2023 -0700 |
tree | d0039e312bb5ecbb59c4172647ef60c902c8d112 | |
parent | 9f34a29d0ea49780b477db2b47e11e48e5076d53 [diff] |
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
diff --git a/src/com/android/launcher3/widget/DatabaseWidgetPreviewLoader.java b/src/com/android/launcher3/widget/DatabaseWidgetPreviewLoader.java index 6f74fd9..99485be 100644 --- a/src/com/android/launcher3/widget/DatabaseWidgetPreviewLoader.java +++ b/src/com/android/launcher3/widget/DatabaseWidgetPreviewLoader.java
@@ -257,8 +257,6 @@ 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(