New preference for selecting new voice interaction service.
This is currently in addition to the existing Voice Search
preference in this UI. Eventually it will replace that one,
as a superset of its functionality.
Change-Id: I26f1220fa129870cad3ec4152a569a9c494971fb
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 99f6664..be924f0 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3833,6 +3833,17 @@
<string name="keyboard_settings_title">Android keyboard</string>
<!-- Title for the 'voice input' category of voice input/output settings -->
<string name="voice_category">Speech</string>
+ <!-- Title for the voice interactor setting in voice input/output settings -->
+ <string name="voice_interactor_title">Voice input</string>
+ <!-- Title for the link to settings for the chosen voice interactor in voice input/output
+ settings -->
+ <string name="voice_interactor_settings_title">Voice input</string>
+ <!-- Summary for the link to settings for the chosen voice interactor in voice input/output
+ settings. Would say something like, e.g., "Settings for 'Google'". -->
+ <string name="voice_interactor_settings_summary">Settings for
+ \'<xliff:g id="interactor_name">%s</xliff:g>\'</string>
+ <!-- Label to show for no voice interactor selector -->
+ <string name="no_voice_interactor">None</string>
<!-- Title for the voice recognizer setting in voice input/output settings -->
<string name="recognizer_title">Voice recognizer</string>
<!-- Title for the link to settings for the chosen voice recognizer in voice input/output settings -->
diff --git a/res/xml/language_settings.xml b/res/xml/language_settings.xml
index 3e7fdb5..c210312 100644
--- a/res/xml/language_settings.xml
+++ b/res/xml/language_settings.xml
@@ -73,6 +73,16 @@
<!-- entries, entryValues, and defaultValue will be populated programmatically. -->
<ListPreference
+ android:key="voice_interactor"
+ android:title="@string/voice_interactor_title"
+ android:dialogTitle="@string/voice_interactor_title" />
+
+ <!-- An intent for this preference will be populated programmatically. -->
+ <PreferenceScreen android:key="voice_interactor_settings"
+ android:title="@string/voice_interactor_settings_title" />
+
+ <!-- entries, entryValues, and defaultValue will be populated programmatically. -->
+ <ListPreference
android:key="recognizer"
android:title="@string/recognizer_title"
android:dialogTitle="@string/recognizer_title" />