Remove indexes for removed hard keyboard options.

Bug: 16027438
Change-Id: If668024e3b7073b49142de7e9aae4a46b4969d40
This commit is contained in:
Michael Wright
2014-08-11 18:39:23 -07:00
parent 561d6bc9bb
commit bf55863b41

View File

@@ -807,33 +807,6 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment
R.string.builtin_keyboard_settings_title); R.string.builtin_keyboard_settings_title);
indexable.screenTitle = screenTitle; indexable.screenTitle = screenTitle;
indexables.add(indexable); indexables.add(indexable);
// Auto replace.
indexable = new SearchIndexableRaw(context);
indexable.key = "auto_replace";
indexable.title = context.getString(R.string.auto_replace);
indexable.summaryOn = context.getString(R.string.auto_replace_summary);
indexable.summaryOff = context.getString(R.string.auto_replace_summary);
indexable.screenTitle = screenTitle;
indexables.add(indexable);
// Auto caps.
indexable = new SearchIndexableRaw(context);
indexable.key = "auto_caps";
indexable.title = context.getString(R.string.auto_caps);
indexable.summaryOn = context.getString(R.string.auto_caps_summary);
indexable.summaryOff = context.getString(R.string.auto_caps_summary);
indexable.screenTitle = screenTitle;
indexables.add(indexable);
// Auto punctuate.
indexable = new SearchIndexableRaw(context);
indexable.key = "auto_punctuate";
indexable.title = context.getString(R.string.auto_punctuate);
indexable.summaryOn = context.getString(R.string.auto_punctuate_summary);
indexable.summaryOff = context.getString(R.string.auto_punctuate_summary);
indexable.screenTitle = screenTitle;
indexables.add(indexable);
} }
// Voice input // Voice input