summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/gestures/DoubleTapPowerSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/gestures/DoubleTapPowerSettings.java')
-rw-r--r--src/com/android/settings/gestures/DoubleTapPowerSettings.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/com/android/settings/gestures/DoubleTapPowerSettings.java b/src/com/android/settings/gestures/DoubleTapPowerSettings.java
index acabdbc679..628a213147 100644
--- a/src/com/android/settings/gestures/DoubleTapPowerSettings.java
+++ b/src/com/android/settings/gestures/DoubleTapPowerSettings.java
@@ -64,13 +64,5 @@ public class DoubleTapPowerSettings 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.double_tap_power_settings;
- return Arrays.asList(sir);
- }
- };
+ new BaseSearchIndexProvider(R.xml.double_tap_power_settings);
}