Skip to content

Commit

Permalink
fix Widget Crash
Browse files Browse the repository at this point in the history
  • Loading branch information
saulhdev committed Jul 25, 2020
1 parent 1efedd4 commit 3a45dcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/android/launcher3/DeviceProfile.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3a45dcd

Please sign in to comment.