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:
Tracy Zhou
2020-02-12 17:22:09 -08:00
parent b3ea58d582
commit 02cb060775
5 changed files with 28 additions and 43 deletions

View File

@@ -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);