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:
Sunny Shao
2020-02-15 13:46:22 +08:00
parent 2eb9ef4d6f
commit f0b0d46106
4 changed files with 1 additions and 22 deletions

View File

@@ -88,9 +88,6 @@ public class EligibleCardChecker implements Callable<ContextualCard> {
if (card.getRankingScore() < 0) {
return false;
}
if (card.isCustomCard()) {
return true;
}
final Uri uri = card.getSliceUri();
if (!ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())) {