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

@@ -1758,8 +1758,7 @@ public class LauncherModel extends BroadcastReceiver
int countX = (int) profile.numColumns;
int countY = (int) profile.numRows;
if (MigrateFromRestoreTask.shouldRunTask(mContext)) {
if (MigrateFromRestoreTask.ENABLED && MigrateFromRestoreTask.shouldRunTask(mContext)) {
long migrationStartTime = System.currentTimeMillis();
Log.v(TAG, "Starting workspace migration after restore");
try {