Remove ranking code for Old Search
Test: make RunSettingsRoboTests Bug:35763944 Change-Id: I30b1d22f2de293bd6ff03352ca5793b00beec61a
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user