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:
1 parent
719075b56c
commit
5ea61960ab
5 files changed
+9
-7
No files matched your search
@@ -123,7 +123,7 @@ public class RestoreDbTask {
|
||||
// executed again.
|
||||
LauncherPrefs.get(context).removeSync(RESTORE_DEVICE);
|
||||
|
||||
if (Flags.narrowGridRestore()) {
|
||||
if (Flags.enableNarrowGridRestore()) {
|
||||
String oldPhoneFileName = idp.dbFile;
|
||||
removeOldDBs(context, oldPhoneFileName);
|
||||
trySettingPreviousGidAsCurrent(context, idp, oldPhoneFileName);
|
||||
|
||||
Reference in new issue
Block a user