Update synonyms and fix some issues related to them
- update synonyms definitions - fix issue with L release regression for indexing "Backup & reset": was missing the marker interface "Indexable" - fix non working synonyms for "Language & input": their declaration was done in the XML preference file but was not used because the SearchIndexProvider was built "by hand" See bug #17474866 Settings search synonyms needs an update Change-Id: Iceab71a0e3214f3a8ba0dcd77756c3632609c5ce
This commit is contained in:
@@ -37,6 +37,7 @@ import android.provider.SearchIndexableResource;
|
||||
import android.provider.Settings;
|
||||
|
||||
import com.android.settings.search.BaseSearchIndexProvider;
|
||||
import com.android.settings.search.Indexable;
|
||||
import com.android.settings.search.Indexable.SearchIndexProvider;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -46,7 +47,7 @@ import java.util.List;
|
||||
* Gesture lock pattern settings.
|
||||
*/
|
||||
public class PrivacySettings extends SettingsPreferenceFragment implements
|
||||
DialogInterface.OnClickListener {
|
||||
DialogInterface.OnClickListener, Indexable {
|
||||
|
||||
// Vendor specific
|
||||
private static final String GSETTINGS_PROVIDER = "com.google.settings";
|
||||
|
Reference in New Issue
Block a user