From 3e5688af9776bb6cf3e50500b7cffebbdef699db Mon Sep 17 00:00:00 2001 From: Jordan Silva Date: Tue, 5 Dec 2023 15:12:29 -0300 Subject: [PATCH] Fix folder icon drawable padding for responsive grid Bug: 314285621 Flag: ACONFIG com.android.launcher3.enable_responsive_workspace TEAMFOOD Test: NexusLauncherImageTests Test: DeviceProfileDumpTest Test: DeviceProfileAlternativeDisplaysDumpTest Change-Id: I502a112a0c7d1e6ec1de8501efb8d2893436e880 --- src/com/android/launcher3/DeviceProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 1451b98e1e..8aa8c1e267 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -1451,7 +1451,7 @@ public class DeviceProfile { } // Recalculating padding and cell height - folderChildDrawablePaddingPx = getNormalizedFolderChildDrawablePaddingPx(textHeight); + folderChildDrawablePaddingPx = mResponsiveWorkspaceCellSpec.getIconDrawablePadding(); CellContentDimensions cellContentDimensions = new CellContentDimensions( folderChildIconSizePx,