From 3a45dcdf25ced1c6663096e77d916b71f416c6be Mon Sep 17 00:00:00 2001 From: Saul Henriquez Date: Fri, 24 Jul 2020 22:56:55 -0600 Subject: [PATCH] fix Widget Crash --- src/com/android/launcher3/DeviceProfile.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 54fdf57558..328332e6b2 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -523,6 +523,7 @@ private void updateIconSize(float scale, Resources res, DisplayMetrics dm) { allAppsCellHeightPx = allAppsIconSizePx + allAppsIconDrawablePaddingPx + textHeight + additionalPadding; + allAppsCellWidthPx = allAppsIconSizePx + allAppsIconDrawablePaddingPx; if (isVerticalBarLayout()) { // Always hide the Workspace text with vertical bar layout. adjustToHideWorkspaceLabels();