Returning to wizard, enable migration.
Bring primary storage migration back into the adoption flow, and provide a path for long-lived notifications to re-launch into the Settings app. Also provide option to initiate migration if skipped during wizard. For now, estmiate migration size and time based on a Class 10 card. Follow other callback refactoring. Bug: 19993667 Change-Id: Ia0c28eb114bc6c8066c17b3142ed74f962140c91
This commit is contained in:
@@ -25,6 +25,7 @@ import com.android.settings.R;
|
||||
|
||||
public class StorageWizardFormatConfirm extends StorageWizardBase {
|
||||
public static final String EXTRA_FORMAT_PRIVATE = "format_private";
|
||||
public static final String EXTRA_FORGET_UUID = "forget_uuid";
|
||||
|
||||
private boolean mFormatPrivate;
|
||||
|
||||
@@ -56,6 +57,7 @@ public class StorageWizardFormatConfirm extends StorageWizardBase {
|
||||
final Intent intent = new Intent(this, StorageWizardFormatProgress.class);
|
||||
intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
||||
intent.putExtra(EXTRA_FORMAT_PRIVATE, mFormatPrivate);
|
||||
intent.putExtra(EXTRA_FORGET_UUID, getIntent().getStringExtra(EXTRA_FORGET_UUID));
|
||||
startActivity(intent);
|
||||
finishAffinity();
|
||||
}
|
||||
|
Reference in New Issue
Block a user