Merge "Decouple grid size and widget preview size in WidgetsRecyclerView" into ub-launcher3-qt-future-dev
am: e5865a03bb
Change-Id: I72ff45bd7080a7bb6ca4ab681423d6bd1da8a291
This commit is contained in:
@@ -467,7 +467,7 @@ public class WidgetPreviewLoader {
|
||||
|
||||
private Bitmap generateShortcutPreview(BaseActivity launcher, ShortcutConfigActivityInfo info,
|
||||
int maxWidth, int maxHeight, Bitmap preview) {
|
||||
int iconSize = launcher.getDeviceProfile().iconSizePx;
|
||||
int iconSize = launcher.getDeviceProfile().allAppsIconSizePx;
|
||||
int padding = launcher.getResources()
|
||||
.getDimensionPixelSize(R.dimen.widget_preview_shortcut_padding);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user