Update subtext for "Network & internet"

Remove "and" to align with the other menu items.

Fixes: 183642373
Test: robotests & visual
Change-Id: I4d48b9c5a867d7afa04b7c3f0d6495b455df6621
This commit is contained in:
Yanting Yang
2021-05-21 11:07:07 +08:00
parent 31389702ad
commit 8b95b7a6e9
2 changed files with 17 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ public class TopLevelNetworkEntryPreferenceControllerTest {
when(mTetherPreferenceController.isAvailable()).thenReturn(true);
assertThat(mController.getSummary())
.isEqualTo("Wi\u2011Fi, mobile, data usage, and hotspot");
.isEqualTo("Wi\u2011Fi, mobile, data usage, hotspot");
}
@Test
@@ -101,6 +101,6 @@ public class TopLevelNetworkEntryPreferenceControllerTest {
when(mMobileNetworkPreferenceController.isAvailable()).thenReturn(false);
when(mTetherPreferenceController.isAvailable()).thenReturn(false);
assertThat(mController.getSummary()).isEqualTo("Wi\u2011Fi and data usage");
assertThat(mController.getSummary()).isEqualTo("Wi\u2011Fi, data usage");
}
}