Merge "Fix bug where changing the display size does not update the launcher grid." into ub-launcher3-qt-dev

am: 1d43df01a4

Change-Id: I1d7de3bbf6090ce57770825e354fc7890da5e9df
This commit is contained in:
Jon Miranda
2019-05-29 12:44:13 -07:00
committed by android-build-merger
@@ -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 ||