Merge "Remove the @hide annotation for the dynamic index of Settings Search."

This commit is contained in:
Stanley Wang
2020-01-16 11:53:19 +00:00
committed by Android (Google) Code Review
3 changed files with 8 additions and 9 deletions

View File

@@ -98,16 +98,14 @@ public class SearchIndexablesContract {
/**
* Dynamic indexable raw data names.
*
* @hide
* The raw data name of dynamic index. This is used to compose the index path of provider
* for dynamic index.
*/
public static final String DYNAMIC_INDEXABLES_RAW = "dynamic_indexables_raw";
/**
* ContentProvider path for dynamic indexable raw data.
*
* @hide
* ContentProvider path for dynamic index. This is used to get the raw data of dynamic index
* from provider.
*/
public static final String DYNAMIC_INDEXABLES_RAW_PATH =
SETTINGS + "/" + DYNAMIC_INDEXABLES_RAW;

View File

@@ -204,11 +204,9 @@ public abstract class SearchIndexablesProvider extends ContentProvider {
* @param projection list of {@link android.provider.SearchIndexablesContract.RawData} columns
* to put into the cursor. If {@code null} all supported columns should be
* included.
*
* @hide
*/
@Nullable
public Cursor queryDynamicRawData(String[] projection) {
public Cursor queryDynamicRawData(@Nullable String[] projection) {
// By default no-op;
return null;
}