Disabling home screen migration logic

Change-Id: I506948852945bfb8ebd7a95fc951880ffe9a3e17
This commit is contained in:
Sunny Goyal
2015-08-11 12:10:34 -07:00
parent a1ee659e74
commit 6579e1eee8
4 changed files with 7 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ public class LauncherBackupAgentHelper extends BackupAgentHelper {
LauncherAppState.getLauncherProvider().updateFolderItemsRank();
}
if (mHelper.shouldAttemptWorkspaceMigration()) {
if (MigrateFromRestoreTask.ENABLED && mHelper.shouldAttemptWorkspaceMigration()) {
MigrateFromRestoreTask.markForMigration(getApplicationContext(),
(int) mHelper.migrationCompatibleProfileData.desktopCols,
(int) mHelper.migrationCompatibleProfileData.desktopRows,