Make TopLevelSettings un-searchable and direct result to relevant page.
Fixes: 149372187 Test: manual & robotest Change-Id: I9daca03d1c11a262f8e3b55bb46aabbc035ece96
This commit is contained in:
@@ -100,5 +100,12 @@ public class TopLevelSettings extends DashboardFragment implements
|
||||
}
|
||||
|
||||
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider(R.xml.top_level_settings);
|
||||
new BaseSearchIndexProvider(R.xml.top_level_settings) {
|
||||
|
||||
@Override
|
||||
protected boolean isPageSearchEnabled(Context context) {
|
||||
// Never searchable, all entries in this page are already indexed elsewhere.
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user