mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Follow up change to GridBackupTable per V2 backup / restore (multi-db)
Removed the code to handle table copying across dbs. We don't really need this since per ag/10298497, we can just copy db files directly. Bug: 149236106 Test: N/A Change-Id: I90bd7b6779fcaa841c71f5d0f27ec91907f926fc
This commit is contained in:
@@ -909,7 +909,7 @@ public class GridSizeMigrationTask {
|
||||
boolean dbChanged = false;
|
||||
|
||||
GridBackupTable backupTable = new GridBackupTable(context, transaction.getDb(),
|
||||
transaction.getDb(), srcHotseatCount, sourceSize.x, sourceSize.y);
|
||||
srcHotseatCount, sourceSize.x, sourceSize.y);
|
||||
if (backupTable.backupOrRestoreAsNeeded()) {
|
||||
dbChanged = true;
|
||||
srcHotseatCount = backupTable.getRestoreHotseatAndGridSize(sourceSize);
|
||||
|
||||
Reference in New Issue
Block a user