Tweak voice settings strings.

Change-Id: I4cb6badaf2d013d43d87bc8ecdc0763c4e5d6b50
This commit is contained in:
Dianne Hackborn
2014-08-23 14:11:12 -07:00
parent 66b0d9e809
commit 7912a76cd2
2 changed files with 6 additions and 6 deletions

View 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;