From dc0bd5b516a29af5358b37d34981b9e01204f401 Mon Sep 17 00:00:00 2001 From: Nate Myren Date: Mon, 26 Apr 2021 11:43:44 -0700 Subject: [PATCH] Add information to EXTRA_AUDIO_INJECT_SOURCE indicate the data for injection should be a URI to an audio resource. Fixes: 186411622 Test: none Change-Id: I70b650c8fb8fa6de648c03df3c5464a570222fee --- core/java/android/speech/RecognizerIntent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/speech/RecognizerIntent.java b/core/java/android/speech/RecognizerIntent.java index 22ccd23a22bcf..3183f15fe16cc 100644 --- a/core/java/android/speech/RecognizerIntent.java +++ b/core/java/android/speech/RecognizerIntent.java @@ -43,7 +43,7 @@ public class RecognizerIntent { /** * The extra key used in an intent which is providing an already opened audio source for the - * RecognitionService to use. + * RecognitionService to use. Data should be a URI to an audio resource. */ public static final String EXTRA_AUDIO_INJECT_SOURCE = "android.speech.extra.AUDIO_INJECT_SOURCE";