Update language to comply with Android's inclusive language guidance

See https://source.android.com/setup/contribute/respectful-code for
reference

Bug: 162536543
Change-Id: I6e2f3a01ba314d148aefc5493b4d3e266bc4ba5f
Test: N/A, Modified comments
This commit is contained in:
Cynthia Wasonga
2021-11-26 09:14:29 +00:00
parent aa6380d616
commit 79ce0ed864
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ public class ColoredRectsActivity extends Activity {
swView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
frame.addView(swView);
final RectsView hwBothView = new RectsView(this, 850, Color.GREEN);
// Don't actually need to render to a hw layer, but it's a good sanity-check that
// Don't actually need to render to a hw layer, but it's a good check that
// we're rendering to/from layers correctly
hwBothView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
frame.addView(hwBothView);

View File

@@ -42,7 +42,7 @@ public class Lines2Activity extends Activity {
swView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
frame.addView(swView);
final LinesView hwBothView = new LinesView(this, 850, Color.GREEN);
// Don't actually need to render to a hw layer, but it's a good sanity-check that
// Don't actually need to render to a hw layer, but it's a good check that
// we're rendering to/from layers correctly
hwBothView.setLayerType(View.LAYER_TYPE_HARDWARE, null);
frame.addView(hwBothView);