Merge "Add code inspector to ensure fragments implements search."

This commit is contained in:
Fan Zhang
2016-12-01 00:50:40 +00:00
committed by Android (Google) Code Review
9 changed files with 280 additions and 52 deletions

View File

@@ -110,6 +110,9 @@ public class Index {
public static final String ENTRIES_SEPARATOR = "|";
static final String FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER =
"SEARCH_INDEX_DATA_PROVIDER";
// If you change the order of columns here, you SHOULD change the COLUMN_INDEX_XXX values
private static final String[] SELECT_COLUMNS = new String[] {
IndexColumns.DATA_RANK, // 0
@@ -155,9 +158,6 @@ public class Index {
private static final String HYPHEN = "-";
private static final String SPACE = " ";
private static final String FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER =
"SEARCH_INDEX_DATA_PROVIDER";
private static final String NODE_NAME_PREFERENCE_SCREEN = "PreferenceScreen";
private static final String NODE_NAME_CHECK_BOX_PREFERENCE = "CheckBoxPreference";
private static final String NODE_NAME_LIST_PREFERENCE = "ListPreference";