Merge "Network Factory Device Reset defaults to not resetting the eSim profile."
diff --git a/res/layout/reset_esim_checkbox.xml b/res/layout/reset_esim_checkbox.xml
index 77b90a1..44b9a28 100644
--- a/res/layout/reset_esim_checkbox.xml
+++ b/res/layout/reset_esim_checkbox.xml
@@ -33,7 +33,7 @@
android:layout_gravity="center_vertical"
android:focusable="false"
android:clickable="false"
- android:checked="true"
+ android:checked="false"
android:duplicateParentState="true"/>
<LinearLayout
diff --git a/tests/robotests/src/com/android/settings/MainClearTest.java b/tests/robotests/src/com/android/settings/MainClearTest.java
index 5a88198..ec33fad 100644
--- a/tests/robotests/src/com/android/settings/MainClearTest.java
+++ b/tests/robotests/src/com/android/settings/MainClearTest.java
@@ -236,7 +236,7 @@
@Test
public void testEsimRecheckBoxDefaultChecked() {
- assertThat(((CheckBox) mContentView.findViewById(R.id.erase_esim)).isChecked()).isTrue();
+ assertThat(((CheckBox) mContentView.findViewById(R.id.erase_esim)).isChecked()).isFalse();
}
@Test