commit | cccd63c8e8e989a55cbeeb6c7d253a709139c223 | [log] [tgz] |
---|---|---|
author | Valentin Kravtsov <valentink@google.com> | Fri Feb 12 14:19:11 2010 +0000 |
committer | Valentin Kravtsov <valentink@google.com> | Fri Feb 12 14:19:11 2010 +0000 |
tree | f9b3f79407375b0df1122515e0dddb26251b779f | |
parent | ac6df2d0376aed28eb0dac9baba00497ae40bdfb [diff] |
Fixing the bug where mic button is not shown Change-Id: I8ac7bd4c1db85058f863bcfaf5ee30212644b2bd
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 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; }