Refactor Reset options Settings
Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: robotest & manual Change-Id: I94969f6903d047b9bc41b1e8c14096c92c460b38
This commit is contained in:
@@ -70,7 +70,7 @@ public class SwitchBarTest {
|
||||
|
||||
@Test
|
||||
public void cycleChecked_customLabel_shouldUpdateTextAndBackground() {
|
||||
final int onText = R.string.master_clear_progress_text;
|
||||
final int onText = R.string.main_clear_progress_text;
|
||||
final int offText = R.string.manage_space_text;
|
||||
|
||||
mBar.setSwitchBarText(onText, offText);
|
||||
@@ -87,9 +87,9 @@ public class SwitchBarTest {
|
||||
@Test
|
||||
public void setCheck_customLabelWithStringType_shouldUpdateTextAndBackground() {
|
||||
final String onText = mContext.getString(
|
||||
R.string.accessibility_service_master_switch_title);
|
||||
R.string.accessibility_service_primary_switch_title);
|
||||
final String offText = mContext.getString(
|
||||
R.string.accessibility_service_master_switch_title);
|
||||
R.string.accessibility_service_primary_switch_title);
|
||||
final TextView switchBarTextView = ((TextView) mBar.findViewById(R.id.switch_text));
|
||||
|
||||
mBar.setSwitchBarText(onText, offText);
|
||||
|
Reference in New Issue
Block a user