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: Ia8625091a107fc3fb652d3ba3f75ea3cc1a8d9f5
This commit is contained in:
@@ -596,8 +596,8 @@ public class ManageApplicationsTest {
|
||||
mFragment.onItemSelected(null, null, 0, 0);
|
||||
|
||||
AppFilter filter = ReflectionHelpers.getField(adapter, "mCompositeFilter");
|
||||
assertThat(filter.filterApp(createPowerWhiteListApp(false))).isFalse();
|
||||
assertThat(filter.filterApp(createPowerWhiteListApp(true))).isTrue();
|
||||
assertThat(filter.filterApp(createPowerAllowListApp(false))).isFalse();
|
||||
assertThat(filter.filterApp(createPowerAllowListApp(true))).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -615,8 +615,8 @@ public class ManageApplicationsTest {
|
||||
mFragment.onItemSelected(null, null, 1, 0);
|
||||
|
||||
AppFilter filter = ReflectionHelpers.getField(adapter, "mCompositeFilter");
|
||||
assertThat(filter.filterApp(createPowerWhiteListApp(false))).isTrue();
|
||||
assertThat(filter.filterApp(createPowerWhiteListApp(true))).isTrue();
|
||||
assertThat(filter.filterApp(createPowerAllowListApp(false))).isTrue();
|
||||
assertThat(filter.filterApp(createPowerAllowListApp(true))).isTrue();
|
||||
}
|
||||
|
||||
private void setUpOptionMenus() {
|
||||
@@ -646,11 +646,11 @@ public class ManageApplicationsTest {
|
||||
return appList;
|
||||
}
|
||||
|
||||
private AppEntry createPowerWhiteListApp(boolean isPowerWhiteListed) {
|
||||
private AppEntry createPowerAllowListApp(boolean isPowerAllowListed) {
|
||||
final ApplicationInfo info = new ApplicationInfo();
|
||||
info.sourceDir = "abc";
|
||||
final AppEntry entry = new AppEntry(mContext, info, 0);
|
||||
entry.extraInfo = isPowerWhiteListed ? Boolean.TRUE : Boolean.FALSE;
|
||||
entry.extraInfo = isPowerAllowListed ? Boolean.TRUE : Boolean.FALSE;
|
||||
return entry;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user