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: I890335a0c0e31f7d3ea32c6130482e4ef0e20b88
This commit is contained in:
Edgar Wang
2020-07-29 12:47:42 +08:00
parent 82450ec7f4
commit 4e02ceb8b4
8 changed files with 14 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ import com.android.settingslib.development.DeveloperOptionsPreferenceController;
/**
* This controller is used for preference that has fragment or launch intent defined in the
* preference xml, and do not need any handling to update the preference state, except when the
* master developer options switch is turned on/off, the preference needs to be enabled/disabled.
* primary developer options switch is turned on/off, the preference needs to be enabled/disabled.
*
*/
public class DefaultLaunchPreferenceController extends DeveloperOptionsPreferenceController

View File

@@ -189,7 +189,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
getPreferenceScreen().removeAll();
return;
}
// Set up master switch
// Set up primary switch
mSwitchBar = ((SettingsActivity) getActivity()).getSwitchBar();
mSwitchBarController = new DevelopmentSwitchBarController(
this /* DevelopmentSettings */, mSwitchBar, mIsAvailable,

View File

@@ -43,7 +43,7 @@ import com.android.settingslib.core.lifecycle.events.OnResume;
import com.android.settingslib.development.DeveloperOptionsPreferenceController;
/**
* This controls the master switch controller in the developer options page for
* This controls the primary switch controller in the developer options page for
* "Wireless debugging".
*/
public class WirelessDebuggingPreferenceController extends DeveloperOptionsPreferenceController