Merge "Fix bug where changing the display size does not update the launcher grid." into ub-launcher3-qt-dev am: 1d43df01a4
am: cd914c41bc
Change-Id: I55ea1c75c3111592e0964bb3af9049778fb139d5
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user