speech: Add on-device speech recognition settings entry
Currently under `Settings > System > Languages & input > Speech` there is a `Voice input` entry with a cog which starts the SSBG model manager settings activity. Under the same preference group another entry labeled `On-device recognition` is added which would open a similar model manager settings activity, but for the on-device recognizer. That settings activity is yet to be implemented. The new entry should appear only under the following conditions: - An on-device speech recognition service must be available in the system. - A speech recognition service with a proper settings activity meta-data must exist in the same package as the default on-device speech recognition service. Bug: 235457391 Test: Manual, already existing robotests Change-Id: I17208c8725500ccb3dd2fa51a12b003d32073c4e
This commit is contained in:
committed by
Aleksandar Kiridžić
parent
652e9ef651
commit
31473663f5
@@ -6835,6 +6835,14 @@
|
||||
behalf. It comes from the <xliff:g id="voice_input_service_app_name">%s</xliff:g>
|
||||
application. Enable the use of this service?</string>
|
||||
|
||||
<!-- On-device recognition settings --><skip />
|
||||
<!-- [CHAR_LIMIT=NONE] Name of the settings item to open the on-device recognition settings. -->
|
||||
<string name="on_device_recognition_settings">On-device recognition settings</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Title of the on-device recognition settings -->
|
||||
<string name="on_device_recognition_settings_title">On-device recognition</string>
|
||||
<!-- [CHAR_LIMIT=NONE] Summary of the on-device recognition settings -->
|
||||
<string name="on_device_recognition_settings_summary">On-device speech recognition</string>
|
||||
|
||||
<!-- [CHAR LIMIT=50] The text for the settings section that is used to set a preferred text to speech engine -->
|
||||
<string name="tts_engine_preference_title">Preferred engine</string>
|
||||
<!-- [CHAR LIMIT=50] The text for a settings screen of the currently set text to speech engine -->
|
||||
|
Reference in New Issue
Block a user