Merge "Tweak voice settings strings." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c436b15953
@@ -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;
|
||||
|
Reference in New Issue
Block a user