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: I32f369a608c8b4f513f2c32afca6d408ee273428
This commit is contained in:
Edgar Wang
2020-08-06 15:17:22 +08:00
parent 232aaec569
commit 8c8a2e85ec
10 changed files with 47 additions and 65 deletions

View File

@@ -93,8 +93,8 @@ public class SpellCheckersSettings extends SettingsPreferenceFragment
super.onResume();
mSwitchBar = ((SettingsActivity) getActivity()).getSwitchBar();
mSwitchBar.setSwitchBarText(
R.string.spell_checker_master_switch_title,
R.string.spell_checker_master_switch_title);
R.string.spell_checker_primary_switch_title,
R.string.spell_checker_primary_switch_title);
mSwitchBar.show();
mSwitchBar.addOnSwitchChangeListener(this);
updatePreferenceScreen();