Remove the isCustomCard and related codes
Bug: 143058171 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage Change-Id: I9d9ab16f327aef65599150e2f58b23bcb9986b30
This commit is contained in:
@@ -112,9 +112,7 @@ public class ContextualCardLoader extends AsyncLoaderCompat<List<ContextualCard>
|
||||
if (cursor.getCount() > 0) {
|
||||
for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) {
|
||||
final ContextualCard card = new ContextualCard(cursor);
|
||||
if (card.isCustomCard()) {
|
||||
//TODO(b/114688391): Load and generate custom card,then add into list
|
||||
} else if (isLargeCard(card)) {
|
||||
if (isLargeCard(card)) {
|
||||
result.add(card.mutate().setIsLargeCard(true).build());
|
||||
} else {
|
||||
result.add(card);
|
||||
|
Reference in New Issue
Block a user