Handling of issues while migrating primary storage
Bug: 28177789 Change-Id: Icfbd048ddf0a1d55df1e7273d49727357b98a452
This commit is contained in:
@@ -76,9 +76,11 @@ public class StorageWizardMigrateProgress extends StorageWizardBase {
|
||||
finishIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
|
||||
sendBroadcast(finishIntent);
|
||||
|
||||
final Intent intent = new Intent(context, StorageWizardReady.class);
|
||||
intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
||||
startActivity(intent);
|
||||
if (!StorageWizardMigrateProgress.this.isFinishing()) {
|
||||
final Intent intent = new Intent(context, StorageWizardReady.class);
|
||||
intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
|
||||
startActivity(intent);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Toast.makeText(context, getString(R.string.insufficient_storage),
|
||||
|
||||
Reference in New Issue
Block a user