mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Do DbMigration if coming from a DB w/ version < 31
This was the issue that is causing the launcher to crash when changing a grid layout. The migration is not happening, causing there to be 21 columns in the database. When the grid size changes, and the db from grid size X is migrated to a db of grid size Y, the column count isn't matching. Bug: 304687723 Test: Verified behavior through unit test. Change-Id: I2ee1f2fe09db432715b22c41581a77f6b0ac8320
This commit is contained in:
@@ -269,7 +269,6 @@ public class DatabaseHelper extends NoLocaleSQLiteHelper implements
|
||||
Favorites.CONTAINER, Favorites.CONTAINER_DESKTOP,
|
||||
Favorites.CELLY, 0), null);
|
||||
}
|
||||
return;
|
||||
}
|
||||
case 31: {
|
||||
LauncherDbUtils.migrateLegacyShortcuts(mContext, db);
|
||||
|
||||
Reference in New Issue
Block a user