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: I36829e0055437dab79d9e5339ac002a87a4b874f
This commit is contained in:
@@ -38,7 +38,7 @@ public abstract class StyleSuggestionActivityBase extends Activity {
|
||||
super.onCreate(savedInstanceState);
|
||||
final PackageManager pm = getPackageManager();
|
||||
final Intent intent = new Intent()
|
||||
.setComponent(new WallpaperPreferenceController(this, "dummy key")
|
||||
.setComponent(new WallpaperPreferenceController(this, "unused key")
|
||||
.getComponentName())
|
||||
.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
|
||||
|
||||
|
@@ -69,7 +69,7 @@ public class WallpaperSuggestionActivity extends StyleSuggestionActivityBase imp
|
||||
boolean enabled) {
|
||||
final List<SearchIndexableRaw> result = new ArrayList<>();
|
||||
WallpaperPreferenceController controller =
|
||||
new WallpaperPreferenceController(context, "dummy key");
|
||||
new WallpaperPreferenceController(context, "unused key");
|
||||
SearchIndexableRaw data = new SearchIndexableRaw(context);
|
||||
data.title = controller.getTitle();
|
||||
data.screenTitle = data.title;
|
||||
|
Reference in New Issue
Block a user