Merge "Remove the @hide annotation for the dynamic index of Settings Search."
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user