Merge "Move content later button doesn't work on Migration Wizard"

am: 1308b56908

Change-Id: I210eb94a69ce434c5b838dedbf90a937e92e71e9
This commit is contained in:
Takamasa Kuramitsu
2018-10-12 14:07:25 -07:00
committed by android-build-merger

View File

@@ -85,9 +85,13 @@ public class StorageWizardMigrateConfirm extends StorageWizardBase {
FeatureFactory.getFactory(this).getMetricsFeatureProvider().action(this,
MetricsEvent.ACTION_STORAGE_MIGRATE_LATER);
final Intent intent = new Intent(this, StorageWizardReady.class);
intent.putExtra(EXTRA_MIGRATE_SKIP, true);
startActivity(intent);
if (mDisk != null) {
final Intent intent = new Intent(this, StorageWizardReady.class);
intent.putExtra(EXTRA_MIGRATE_SKIP, true);
startActivity(intent);
} else {
finishAffinity();
}
}
@Override