Update the sub title of SIM preference in Contacts Storage Setting, to
be consistent with "Device-only" preference. Bug: 394335832 Test: atest ContactsStorageSettingsTest and manually test Flag: EXEMPTED (minor fix) modified: src/com/android/settings/applications/contacts/ContactsStorageSettings.java modified: tests/robotests/src/com/android/settings/applications/contacts/ContactsStorageSettingsTest.java Change-Id: Ibf52d237da468d951211e9afa323d61fa72a1206
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user