From a4c79279efc0224914c2a771b76d60753e48db2f Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Fri, 13 Apr 2018 15:20:31 -0600 Subject: [PATCH] Storage wizard string changes per UX request. Bug: 77207119 Test: atest com.android.settings.ui.StorageWizardTest Change-Id: I93adf01442d006927c792db405d8cf73c963dd40 --- res/values/strings.xml | 6 ++++-- .../settings/deviceinfo/StorageWizardReady.java | 12 ++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index ef02a1099ef..b24d763e6a9 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3248,9 +3248,11 @@ Continue - To move content to ^1, go to Settings > Storage + You can move content to ^1 - Your content was moved to ^1. + To move content to ^1, go to Settings > Storage + + Your content was moved to ^1. \n\nTo manage this ^2, go to Settings > Storage. diff --git a/src/com/android/settings/deviceinfo/StorageWizardReady.java b/src/com/android/settings/deviceinfo/StorageWizardReady.java index 55f4ba1730f..c5c4ca22314 100644 --- a/src/com/android/settings/deviceinfo/StorageWizardReady.java +++ b/src/com/android/settings/deviceinfo/StorageWizardReady.java @@ -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());