Merge "Update the sub title of SIM preference in Contacts Storage Setting, to be consistent with "Device-only" preference." into main

This commit is contained in:
Liefu Liu
2025-02-06 10:52:40 -08:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 2 deletions

View File

@@ -345,7 +345,8 @@ public class ContactsStorageSettingsTest {
SelectorWithWidgetPreference simPreference = accountCategory.findPreference(
String.valueOf(SIM_ACCOUNT.hashCode()));
assertThat(simPreference.getTitle()).isEqualTo("SIM");
assertThat(simPreference.getSummary()).isEqualTo("SIM");
assertThat(simPreference.getSummary()).isEqualTo(
"Contacts may not sync or be available on your other devices");
assertThat(simPreference.getIcon()).isNotNull();
assertThat(simPreference.isChecked()).isTrue();
}