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:
@@ -406,7 +406,7 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
||||
// Get and populate the defaults, since the user is not going to be
|
||||
// able to toggle this app ON (it's ON by default and immutable).
|
||||
// Only do this for restricted profiles, not single-user restrictions
|
||||
// Also don't do this for slave icons
|
||||
// Also don't do this for secondary icons
|
||||
if (app.masterEntry == null) {
|
||||
requestRestrictionsForApp(packageName, p, false);
|
||||
}
|
||||
@@ -432,9 +432,9 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
||||
|
||||
private String getPackageSummary(PackageInfo pi, AppRestrictionsHelper.SelectableAppInfo app) {
|
||||
// Check for 3 cases:
|
||||
// - Slave entry that can see primary user accounts
|
||||
// - Slave entry that cannot see primary user accounts
|
||||
// - Master entry that can see primary user accounts
|
||||
// - Secondary entry that can see primary user accounts
|
||||
// - Secondary entry that cannot see primary user accounts
|
||||
// - Primary entry that can see primary user accounts
|
||||
// Otherwise no summary is returned
|
||||
if (app.masterEntry != null) {
|
||||
if (mRestrictedProfile && pi.restrictedAccountType != null) {
|
||||
|
Reference in New Issue
Block a user