Reserve full indexing for SearchFragment
Full Index should only be accessible from Search Fragment, and when only full index should declare a locale to be indexed. Test: make RunSettingsRoboTests Fixes: 36656637 Change-Id: Ie673067118ac6b184570e116ea24a169be027053
This commit is contained in:
@@ -221,6 +221,7 @@ public class BuildNumberPreferenceController extends PreferenceController
|
||||
mDevHitToast.show();
|
||||
// This is good time to index the Developer Options
|
||||
FeatureFactory.getFactory(mContext).getSearchFeatureProvider().getIndexingManager(mContext)
|
||||
.updateFromClassNameResource(DevelopmentSettings.class.getName(), true, true);
|
||||
.updateFromClassNameResource(DevelopmentSettings.class.getName(),
|
||||
true /* includeInSearchResults */);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user