OSDN Git Service

Tweak voice settings strings.
authorDianne Hackborn <hackbod@google.com>
Sat, 23 Aug 2014 21:11:12 +0000 (14:11 -0700)
committerDianne Hackborn <hackbod@google.com>
Sat, 23 Aug 2014 21:11:12 +0000 (14:11 -0700)
Change-Id: I4cb6badaf2d013d43d87bc8ecdc0763c4e5d6b50

res/values/strings.xml
src/com/android/settings/voice/VoiceInputSettings.java

index 6e962d1..f6629d1 100644 (file)
          a full voice interaction service.  This is something that provides interactive
          voice control of applications; for example you can tell it commands to have it
          launch and let you interact with applications through your voice. -->
-    <string name="voice_interactor_preference_summary">Full voice interaction</string>
+    <string name="voice_interactor_preference_summary">Full hotword and interaction</string>
     <!-- [CHAR LIMIT=NONE] The summary text for the voice service preference that is
          a simple voice recognition service.  This is something that only provides simple
          speech to text conversions that applications can use when they want to allow you
          to provide text to them through your voice (instead of with a keyboard). -->
-    <string name="voice_recognizer_preference_summary">Simple voice recognition</string>
+    <string name="voice_recognizer_preference_summary">Simple speech to text</string>
     <!-- [CHAR_LIMIT=NONE] Warning message about security implications of enabling a
          voice interaction service, displayed as a dialog
          message when the user selects to enable a service. -->
     <string name="voice_interaction_security_warning">This voice input service will be able to
-        control all voice enabled applications on your behalf.
-        It comes from the <xliff:g id="voice_input_service_app_name">%s</xliff:g> application.
-        Enable the use of this service?</string>
+        perform always-on voice monitoring and control voice enabled applications on your
+        behalf.  It comes from the <xliff:g id="voice_input_service_app_name">%s</xliff:g>
+        application.  Enable the use of this service?</string>
 
     <!-- Text-To-Speech (TTS) settings --><skip />
     <!-- Name of the TTS package as listed by the package manager. -->
index aa85024..262f145 100644 (file)
@@ -160,7 +160,7 @@ public class VoiceInputSettings extends SettingsPreferenceFragment implements
             VoiceInputHelper.RecognizerInfo info = mHelper.mAvailableRecognizerInfos.get(i);
             if (info.key.equals(key)) {
                 Settings.Secure.putString(getActivity().getContentResolver(),
-                        Settings.Secure.VOICE_INTERACTION_SERVICE, null);
+                        Settings.Secure.VOICE_INTERACTION_SERVICE, "");
                 Settings.Secure.putString(getActivity().getContentResolver(),
                         Settings.Secure.VOICE_RECOGNITION_SERVICE, key);
                 return;