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

Commit 5225e83d authored by Alex Chau's avatar Alex Chau
Browse files

Skip iconScale logic in responsive grid

Fix: 289198168
Flag: ENABLE_RESPONSIVE_WORKSPACE
Test: DeviceProfileResponsiveDumpTest, DeviceProfileResponsiveAlternativeDisplaysDumpTest
Change-Id: Iefe9ab3986a6d50ac920ba7bf417c0a8f254d878
parent bd83b298
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();