Merge "Update javadoc for recognitionService attr." into sc-v2-dev

This commit is contained in:
Joanne Chung
2021-11-05 01:28:42 +00:00
committed by Android (Google) Code Review

View File

@@ -8717,9 +8717,14 @@
<declare-styleable name="VoiceInteractionService">
<!-- The service that hosts active voice interaction sessions. This is required. -->
<attr name="sessionService" format="string" />
<!-- The service that provides voice recognition. This is required. When the user
selects this voice interaction service, they will also be implicitly selecting
the component here for their recognition service. -->
<!-- The service that provides voice recognition. This is required. On Android 11 and
earlier, this must be a valid RecognitionService.
<p>
From Android 12 onward, this attribute does nothing. However, we still require it to
be set to something to reduce the risk that an app with an unspecified value gets
pushed to older platform versions, where it will cause a boot loop. To make sure
developers don't miss it, the system will reset the current assistant if this isn't
specified.-->
<attr name="recognitionService" format="string" />
<attr name="settingsActivity" />
<!-- Flag indicating whether this voice interaction service is capable of handling the