Merge similar BaseSearchIndexProvider code together
Bug: 135053028 Test: robolectric, check search_index.db contains the same items Change-Id: If3c18a170b0e671690df1fdf26e59a421d2c48cd
This commit is contained in:
@@ -71,8 +71,7 @@ public class BackupSettingsFragment extends DashboardFragment {
|
||||
// The intention is to index {@link UserBackupSettingsActivity} instead of the fragments,
|
||||
// therefore leaving this index provider empty.
|
||||
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider() {
|
||||
};
|
||||
new BaseSearchIndexProvider();
|
||||
|
||||
@Override
|
||||
public int getMetricsCategory() {
|
||||
|
Reference in New Issue
Block a user