mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Do not apply legacy treatment on shortcuts Bug: 62617041" into ub-launcher3-dorval-polish
This commit is contained in:
committed by
Android (Google) Code Review
commit
3fede16f22
@@ -471,7 +471,7 @@ public class WidgetPreviewLoader {
|
||||
RectF boxRect = drawBoxWithShadow(c, size, size);
|
||||
|
||||
Bitmap icon = LauncherIcons.createScaledBitmapWithoutShadow(
|
||||
mutateOnMainThread(info.getFullResIcon(mIconCache)), mContext, Build.VERSION_CODES.O);
|
||||
mutateOnMainThread(info.getFullResIcon(mIconCache)), mContext, 0);
|
||||
Rect src = new Rect(0, 0, icon.getWidth(), icon.getHeight());
|
||||
|
||||
boxRect.set(0, 0, iconSize, iconSize);
|
||||
|
||||
Reference in New Issue
Block a user