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

Commit 1d43df01 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bug where changing the display size does not update the launcher...

Merge "Fix bug where changing the display size does not update the launcher grid." into ub-launcher3-qt-dev
parents 8ffa2349 c0f1f4f3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -288,7 +288,9 @@ public class InvariantDeviceProfile {
        InvariantDeviceProfile oldProfile = new InvariantDeviceProfile(this);

        // Re-init grid
        initGrid(context, Utilities.getPrefs(context).getString(KEY_IDP_GRID_NAME, null));
        // TODO(b/131867841): We pass in null here so that we can calculate the closest profile
        // without the bias of the grid name.
        initGrid(context, null);

        int changeFlags = 0;
        if (numRows != oldProfile.numRows ||