diff --git a/res/layout/master_clear.xml b/res/layout/master_clear.xml index 9c1dd80ed05..63685881af0 100644 --- a/res/layout/master_clear.xml +++ b/res/layout/master_clear.xml @@ -127,12 +127,9 @@ android:text="@string/erase_external_storage_description"/> - + + + diff --git a/res/layout/reset_esim_checkbox.xml b/res/layout/reset_esim_checkbox.xml index 21954359959..77b90a182c2 100644 --- a/res/layout/reset_esim_checkbox.xml +++ b/res/layout/reset_esim_checkbox.xml @@ -15,7 +15,9 @@ --> + android:layout_height="wrap_content" + android:text="@string/reset_esim_title"/> - + diff --git a/res/values/strings.xml b/res/values/strings.xml index 2f338788153..f795d14cfa6 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3581,10 +3581,10 @@ Reset Wi-Fi, mobile & Bluetooth This will reset all network settings, including:\n\n
  • Wi\u2011Fi
  • \n
  • Mobile data
  • \n
  • Bluetooth
  • "
    - - Also reset eSIM + + Erase eSIMs - Erase all eSIMs on the phone. You\u2019ll have to contact your carrier to redownload your eSIMs. This will not cancel your mobile service plan. + You\u2019ll have to contact your carrier to download replacement eSIMs. This won\u2019t cancel any mobile service plans. Reset settings @@ -3633,12 +3633,6 @@ Erase all the data on the internal USB storage, such as music or photos Erase all the data on the SD card, such as music or photos - - Erase eSIM - - Erase all eSIMs on the phone. This will not cancel your mobile service plan. - - Erase all eSIMs on the tablet. This will not cancel your mobile service plan. Erase all data diff --git a/src/com/android/settings/MasterClear.java b/src/com/android/settings/MasterClear.java index 58bc58c475b..c78115d13c5 100644 --- a/src/com/android/settings/MasterClear.java +++ b/src/com/android/settings/MasterClear.java @@ -326,8 +326,6 @@ public class MasterClear extends InstrumentedFragment implements OnGlobalLayoutL if (showWipeEuicc()) { if (showWipeEuiccCheckbox()) { - TextView title = mContentView.findViewById(R.id.erase_esim_title); - title.setText(R.string.erase_esim_storage); mEsimStorageContainer.setVisibility(View.VISIBLE); mEsimStorageContainer.setOnClickListener(new View.OnClickListener() { @Override diff --git a/src/com/android/settings/ResetNetwork.java b/src/com/android/settings/ResetNetwork.java index bd45f9bd3c3..5d7dd9994c6 100644 --- a/src/com/android/settings/ResetNetwork.java +++ b/src/com/android/settings/ResetNetwork.java @@ -213,8 +213,6 @@ public class ResetNetwork extends InstrumentedFragment { mInitiateButton.setOnClickListener(mInitiateListener); if (showEuiccSettings(getContext())) { mEsimContainer.setVisibility(View.VISIBLE); - TextView title = mContentView.findViewById(R.id.erase_esim_title); - title.setText(R.string.reset_esim_title); mEsimContainer.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) {