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: I725783b298e95471272c9fa621c62666bc236d44
This commit is contained in:
@@ -46,7 +46,7 @@ public class SearchFeatureProviderImpl implements SearchFeatureProvider {
|
||||
final boolean isSettingsPackage = TextUtils.equals(packageName, context.getPackageName())
|
||||
|| TextUtils.equals(getSettingsIntelligencePkgName(context), packageName);
|
||||
final boolean isWhitelistedPackage =
|
||||
isSignatureWhitelisted(context, caller.getPackageName());
|
||||
isSignatureAllowlisted(context, caller.getPackageName());
|
||||
if (isSettingsPackage || isWhitelistedPackage) {
|
||||
return;
|
||||
}
|
||||
@@ -69,7 +69,7 @@ public class SearchFeatureProviderImpl implements SearchFeatureProvider {
|
||||
.putExtra(Intent.EXTRA_REFERRER, buildReferrer(context, pageId));
|
||||
}
|
||||
|
||||
protected boolean isSignatureWhitelisted(Context context, String callerPackage) {
|
||||
protected boolean isSignatureAllowlisted(Context context, String callerPackage) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user