Merge "Skip iconScale logic in responsive grid" into udc-qpr-dev

This commit is contained in:
Alex Chau
2023-08-01 17:44:27 +00:00
committed by Android (Google) Code Review
@@ -886,6 +886,10 @@ public class DeviceProfile {
updateIconSize(1f, res);
updateWorkspacePadding();
if (mIsResponsiveGrid) {
return 0;
}
// Check to see if the icons fit within the available height.
float usedHeight = getCellLayoutHeightSpecification();
final int maxHeight = getCellLayoutHeight();