Storage wizard string changes per UX request.
Bug: 77207119 Test: atest com.android.settings.ui.StorageWizardTest Change-Id: I93adf01442d006927c792db405d8cf73c963dd40
This commit is contained in:
@@ -36,10 +36,14 @@ public class StorageWizardReady extends StorageWizardBase {
|
||||
setHeaderText(R.string.storage_wizard_ready_title, mDisk.getShortDescription());
|
||||
|
||||
final VolumeInfo privateVol = findFirstVolume(VolumeInfo.TYPE_PRIVATE);
|
||||
final boolean migrateSkip = getIntent().getBooleanExtra(EXTRA_MIGRATE_SKIP, false);
|
||||
if (privateVol != null && !migrateSkip) {
|
||||
setBodyText(R.string.storage_wizard_ready_v2_internal_body,
|
||||
mDisk.getDescription(), mDisk.getShortDescription());
|
||||
if (privateVol != null) {
|
||||
if (getIntent().getBooleanExtra(EXTRA_MIGRATE_SKIP, false)) {
|
||||
setBodyText(R.string.storage_wizard_ready_v2_internal_body,
|
||||
mDisk.getDescription());
|
||||
} else {
|
||||
setBodyText(R.string.storage_wizard_ready_v2_internal_moved_body,
|
||||
mDisk.getDescription(), mDisk.getShortDescription());
|
||||
}
|
||||
} else {
|
||||
setBodyText(R.string.storage_wizard_ready_v2_external_body,
|
||||
mDisk.getDescription());
|
||||
|
Reference in New Issue
Block a user