Remove ranking code for Old Search

Test: make RunSettingsRoboTests
Bug:35763944
Change-Id: I30b1d22f2de293bd6ff03352ca5793b00beec61a
This commit is contained in:
Matthew Fritze
2017-03-15 15:46:21 -07:00
parent 8973e2786d
commit aa15a8e9c6
5 changed files with 6 additions and 240 deletions

View File

@@ -95,8 +95,7 @@ public final class SearchIndexableResources {
static void addIndex(Class<?> indexClass, @XmlRes int xmlResId,
@DrawableRes int iconResId) {
String className = indexClass.getName();
int rank = Ranking.getRankForClassName(className);
sResMap.put(className, new SearchIndexableResource(rank, xmlResId, className, iconResId));
sResMap.put(className, new SearchIndexableResource(0, xmlResId, className, iconResId));
}
static {