Update input modality as early as possible.

Previously, we opened the mic but failed to transition to voice input
modality in response to the OnInteractionStarted event.

This causes some latency as the input modality would not be updated
until we received a SpeechRecognitionStarted event.

Bug: b:80186902
Change-Id: I9cd58243fb47d1bcdaeb71736809ad7279376176
Reviewed-on: https://chromium-review.googlesource.com/1140777
Commit-Queue: David Black <dmblack@google.com>
Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575829}
1 file changed