Loading core/res/res/values/attrs.xml +8 −3 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
core/res/res/values/attrs.xml +8 −3 Original line number Diff line number Diff line Loading @@ -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 Loading