From a0b8472c4d455f1f6c9e213c5665d000baf44abe Mon Sep 17 00:00:00 2001 From: Jeff Davidson Date: Wed, 26 Jul 2017 17:38:41 -0700 Subject: [PATCH] Remove eSIM reset checkbox and always perform the reset. Due to substantial risk in landing the "retain profiles" flow that would otherwise occur if the user elected not to wipe eSIM profiles during a factory reset, we no longer expose this option to users through the UI. Instead, we show affected users messaging indicating that their eSIM will be wiped unconditionally. The underlying plumbing is retained to keep the change small and to make it easier to revert back to a checkbox when the rest of the platform supports it. Change-Id: Ida7df14d81ffc4cb6b4b414928d3ce7e5c78594b Fixes: 64081853 Test: TreeHugger --- res/layout/master_clear.xml | 45 ++++++------------- res/values/strings.xml | 6 ++- src/com/android/settings/MasterClear.java | 23 ++++------ .../com/android/settings/MasterClearTest.java | 26 ----------- 4 files changed, 26 insertions(+), 74 deletions(-) diff --git a/res/layout/master_clear.xml b/res/layout/master_clear.xml index 4423e106270..ec2aaeaaf49 100644 --- a/res/layout/master_clear.xml +++ b/res/layout/master_clear.xml @@ -45,6 +45,13 @@ android:visibility="gone" android:textSize="18sp" android:text="@string/master_clear_desc_also_erases_external" /> + + - - - - - - -