Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit baf96f74 authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

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

parents 97c61603 5225e83d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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();