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
This commit is contained in:
Nate Myren
2021-04-26 11:43:44 -07:00
parent c72ac760e1
commit dc0bd5b516

View File

@@ -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";