Adding the voice command support so that Assist can be triggered via a headset. Notably the change includes adding the voice command intent for Assist, being able to wake up from it even when the screen is off, and stopping the current playing audio only when the activity is destroyed rather than paused, so that it doesn't interfere with screen turning off half way through the playback.
Screenshots
N/A
Link to pull request in Documentation repository
I don't think a doc update is needed?
Any other notes
This change was tested with/without the voice command and, other than the change in behavior where the playback will continue even with the screen turning off halfway, I've verified that no other UX regression is introduced.
Summary
Adding the voice command support so that Assist can be triggered via a headset. Notably the change includes adding the voice command intent for Assist, being able to wake up from it even when the screen is off, and stopping the current playing audio only when the activity is destroyed rather than paused, so that it doesn't interfere with screen turning off half way through the playback.
Screenshots
N/A
Link to pull request in Documentation repository
I don't think a doc update is needed?
Any other notes
This change was tested with/without the voice command and, other than the change in behavior where the playback will continue even with the screen turning off halfway, I've verified that no other UX regression is introduced.