diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-11-06 16:57:04 -0800 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-11-06 16:57:04 -0800 |
commit | d34dd4fb9ebae8c909fcb268d7f76d9e7a8267bd (patch) | |
tree | b15ffd4c966ebe0b7e1225f29fa574fd26e42a0b /src/com/android/settings/inputmethod | |
parent | ba53a846b153b7318d7fc9e21763369b43358e30 (diff) | |
download | packages_apps_Settings-d34dd4fb9ebae8c909fcb268d7f76d9e7a8267bd.zip packages_apps_Settings-d34dd4fb9ebae8c909fcb268d7f76d9e7a8267bd.tar.gz packages_apps_Settings-d34dd4fb9ebae8c909fcb268d7f76d9e7a8267bd.tar.bz2 |
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
Diffstat (limited to 'src/com/android/settings/inputmethod')
-rw-r--r-- | src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java index c529f34..20a273f 100644 --- a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java +++ b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java @@ -666,6 +666,7 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment indexable.key = KEY_SPELL_CHECKERS; indexable.title = context.getString(R.string.spellcheckers_settings_title); indexable.screenTitle = screenTitle; + indexable.keywords = context.getString(R.string.keywords_spell_checker); indexables.add(indexable); // User dictionary. @@ -682,6 +683,7 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment indexable.key = "keyboard_settings"; indexable.title = context.getString(R.string.keyboard_settings_category); indexable.screenTitle = screenTitle; + indexable.keywords = context.getString(R.string.keywords_keyboard_and_ime); indexables.add(indexable); InputMethodSettingValuesWrapper immValues = InputMethodSettingValuesWrapper @@ -787,6 +789,7 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment indexable.key = "voice_input_settings"; indexable.title = context.getString(R.string.voice_input_settings); indexable.screenTitle = screenTitle; + indexable.keywords = context.getString(R.string.keywords_voice_input); indexables.add(indexable); // Text-to-speech. @@ -796,6 +799,7 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment indexable.key = "tts_settings"; indexable.title = context.getString(R.string.tts_settings_title); indexable.screenTitle = screenTitle; + indexable.keywords = context.getString(R.string.keywords_text_to_speech_output); indexables.add(indexable); } |