AOSP/Launcher3 - Update language to comply with Android's inclusive language guidance.
See https://source.android.com/setup/contribute/respectful-code for reference BUG=161896447 Test: make and Presubmit verify. Change-Id: I44e903046dd4cd9c7c07872fc56a8d552eb09522
This commit is contained in:
1 parent
12e59e9a66
commit
ab98166c36
27 files changed
+76
-77
No files matched your search
@@ -216,7 +216,7 @@ public class WorkspaceItemInfo extends ItemInfoWithIcon {
|
||||
if (cn == null && (itemType == Favorites.ITEM_TYPE_SHORTCUT || hasStatusFlag(
|
||||
FLAG_SUPPORTS_WEB_UI | FLAG_AUTOINSTALL_ICON | FLAG_RESTORED_ICON))) {
|
||||
// Legacy shortcuts and promise icons with web UI may not have a componentName but just
|
||||
// a packageName. In that case create a dummy componentName instead of adding additional
|
||||
// a packageName. In that case create a empty componentName instead of adding additional
|
||||
// check everywhere.
|
||||
String pkg = intent.getPackage();
|
||||
return pkg == null ? null : new ComponentName(pkg, IconCache.EMPTY_CLASS_NAME);
|
||||
|
||||
Reference in new issue
Block a user