diff options
author | Mike LeBeau <mlebeau@android.com> | 2010-02-11 16:25:52 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-02-11 16:25:52 -0800 |
commit | cb6351c3a34c5f538007967333fda6b27d61d737 (patch) | |
tree | a5c61a5d526c28a046e0c87558104bf217e3eaf2 /core | |
parent | 111c178bc46fa2c61027bc3870a2c8c442936821 (diff) | |
parent | cb0be8a530d6fefdb05f009980c029c4da14bf98 (diff) | |
download | frameworks_base-cb6351c3a34c5f538007967333fda6b27d61d737.zip frameworks_base-cb6351c3a34c5f538007967333fda6b27d61d737.tar.gz frameworks_base-cb6351c3a34c5f538007967333fda6b27d61d737.tar.bz2 |
Merge "Use the new RecognitionService.SERVICE_INTERFACE instead of RecognizerIntent.ACTION_RECOGNIZE_SPEECH when finding a voice recognition service."
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/speech/RecognitionManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/speech/RecognitionManager.java b/core/java/android/speech/RecognitionManager.java index edb7067..74b9fce 100644 --- a/core/java/android/speech/RecognitionManager.java +++ b/core/java/android/speech/RecognitionManager.java @@ -221,7 +221,7 @@ public class RecognitionManager { if (mConnection == null) { // first time connection mConnection = new Connection(); - Intent serviceIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); + Intent serviceIntent = new Intent(RecognitionService.SERVICE_INTERFACE); String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE); |