diff options
-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 74b9fce..7f55ad6 100644 --- a/core/java/android/speech/RecognitionManager.java +++ b/core/java/android/speech/RecognitionManager.java @@ -171,7 +171,7 @@ public class RecognitionManager { */ public static boolean isRecognitionAvailable(final Context context) { final List<ResolveInfo> list = context.getPackageManager().queryIntentServices( - new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0); + new Intent(RecognitionService.SERVICE_INTERFACE), 0); return list != null && list.size() != 0; } |