Move DWB to the fifth position from the bottom on the homepage
Remove relevant configs, logics and tests. Bug: 187885890 Test: robotests & visual Change-Id: I309d5290f19bf0b01692dd6f14c4cdcc52066453
This commit is contained in:
@@ -672,18 +672,4 @@ public class DashboardFeatureProviderImplTest {
|
||||
assertThat(argument.getValue().getIdentifier()).isEqualTo(0);
|
||||
verify(mActivity, never()).getSupportFragmentManager();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Config(qualifiers = "mcc999")
|
||||
public void bindPreference_specificHomepageTile_shouldOverridePosition() {
|
||||
FeatureFlagUtils.setEnabled(mContext, FeatureFlags.SILKY_HOME, true);
|
||||
final Preference preference = new Preference(RuntimeEnvironment.application);
|
||||
final Tile tile = new ActivityTile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE);
|
||||
|
||||
mImpl.bindPreferenceToTileAndGetObservers(mActivity, mForceRoundedIcon,
|
||||
MetricsEvent.VIEW_UNKNOWN, preference, tile, null /*key */,
|
||||
Preference.DEFAULT_ORDER);
|
||||
|
||||
assertThat(preference.getOrder()).isEqualTo(100);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user