Making 2 flags read only since they are used on backup and restore

The flags are narrow_grid_restore and grid_migration_fix.

Flag: ACONFIG enable_grid_migration_fix enabled
Flag: ACONFIG enable_narrow_grid_restore enabled
Bug: 325286145
Bug: 325285743
Test: BackupAndRestoreDBSelectionTest.kt
Test: GridMigrationTest.kt
Change-Id: Ia6a439553c3c5098115144eae532342ce73be4f2
This commit is contained in:
Sebastian Franco authored and Sebastián Franco committed 2024-03-14 17:16:51 +00:00
1 parent 719075b56c
commit 5ea61960ab
5 files changed
+9 -7

No files matched your search

@@ -124,7 +124,7 @@ public class GridSizeMigrationUtil {
return true;
}
if (Flags.gridMigrationFix()
if (Flags.enableGridMigrationFix()
&& srcDeviceState.getColumns().equals(destDeviceState.getColumns())
&& srcDeviceState.getRows() < destDeviceState.getRows()) {
// Only use this strategy when comparing the previous grid to the new grid and the