Remove code that check for dashboard feature.
- remove DashboardFeatureProvider.isEnabled() and all relating code and tests. Bug: 35764802 Test: make RunSettingsRoboTests Change-Id: If7796677abc8904b7436525836d50cdef38e37a4
This commit is contained in:
@@ -146,8 +146,7 @@ public class DashboardAdapter extends RecyclerView.Adapter<DashboardAdapter.Dash
|
||||
List<Tile> suggestions) {
|
||||
// TODO: Better place for tinting?
|
||||
final TypedArray a = mContext.obtainStyledAttributes(new int[]{
|
||||
mDashboardFeatureProvider.isEnabled()
|
||||
? android.R.attr.colorControlNormal : android.R.attr.colorAccent});
|
||||
android.R.attr.colorControlNormal});
|
||||
int tintColor = a.getColor(0, mContext.getColor(android.R.color.white));
|
||||
a.recycle();
|
||||
for (int i = 0; i < categories.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user