Merge "Implements queryNonIndexableKeys for Settings"

This commit is contained in:
TreeHugger Robot
2017-01-26 01:10:15 +00:00
committed by Android (Google) Code Review
5 changed files with 129 additions and 5 deletions

View File

@@ -88,7 +88,8 @@ public final class SearchIndexableResources {
@XmlRes
public static final int NO_DATA_RES_ID = 0;
private static final HashMap<String, SearchIndexableResource> sResMap = new HashMap<>();
@VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
static final HashMap<String, SearchIndexableResource> sResMap = new HashMap<>();
@VisibleForTesting
static void addIndex(Class<?> indexClass, @XmlRes int xmlResId,