| Index: chrome/browser/resources/hotword_helper/audio_client.js
|
| diff --git a/chrome/browser/resources/hotword_helper/audio_client.js b/chrome/browser/resources/hotword_helper/audio_client.js
|
| index 690a8061cfd908209b95e9d90dd483473e0f1216..927e0f7892c14d01e89a8c753815350ec2d431b2 100644
|
| --- a/chrome/browser/resources/hotword_helper/audio_client.js
|
| +++ b/chrome/browser/resources/hotword_helper/audio_client.js
|
| @@ -64,6 +64,7 @@
|
| AudioClient.CommandFromPage = {
|
| SPEECH_START: 'ss',
|
| SPEECH_END: 'se',
|
| + SPEECH_RESET: 'sr',
|
| SHOWING_HOTWORD_START: 'shs',
|
| SHOWING_ERROR_MESSAGE: 'sem',
|
| SHOWING_TIMEOUT_MESSAGE: 'stm',
|
| @@ -287,6 +288,10 @@
|
| this.speechActive_ = false;
|
| this.sendCommandToExtension_(command);
|
| break;
|
| + case AudioClient.CommandFromPage.SPEECH_RESET:
|
| + this.speechActive_ = false;
|
| + this.sendCommandToExtension_(command);
|
| + break;
|
| case 'SPEECH_RESET': // Legacy, for embedded NTP.
|
| this.speechActive_ = false;
|
| this.sendCommandToExtension_(AudioClient.CommandFromPage.SPEECH_END);
|
|
|