Implement default assist app setting
- Add "None" support to AppListPreference - Add DefaultAssistPreference to manage assist; - Add AppListPreferenceWithSettings to show a settings icon; - Implement DefaultAssistPreference based on AppListPreferenceWithSettings; - Move voice input settings into ManageAssist and implement it based on AppListPreferenceWithSettings; Bug:20210110 Change-Id: If283b8b55a46b428ecfa6e45dc2123292b1d4302
This commit is contained in:
@@ -790,14 +790,6 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment
|
||||
indexables.add(indexable);
|
||||
}
|
||||
|
||||
// Voice input
|
||||
indexable = new SearchIndexableRaw(context);
|
||||
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.
|
||||
TtsEngines ttsEngines = new TtsEngines(context);
|
||||
if (!ttsEngines.getEngines().isEmpty()) {
|
||||
|
Reference in New Issue
Block a user