diff options
Diffstat (limited to 'src/com/android/settings/gestures/GlobalActionsPanelSettings.java')
-rw-r--r-- | src/com/android/settings/gestures/GlobalActionsPanelSettings.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/com/android/settings/gestures/GlobalActionsPanelSettings.java b/src/com/android/settings/gestures/GlobalActionsPanelSettings.java index fe9a9e80cb..fee793f4fd 100644 --- a/src/com/android/settings/gestures/GlobalActionsPanelSettings.java +++ b/src/com/android/settings/gestures/GlobalActionsPanelSettings.java @@ -49,13 +49,5 @@ public class GlobalActionsPanelSettings extends DashboardFragment { } public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = - new BaseSearchIndexProvider() { - @Override - public List<SearchIndexableResource> getXmlResourcesToIndex( - Context context, boolean enabled) { - final SearchIndexableResource sir = new SearchIndexableResource(context); - sir.xmlResId = R.xml.global_actions_panel_settings; - return Arrays.asList(sir); - } - }; + new BaseSearchIndexProvider(R.xml.global_actions_panel_settings); } |