| Index: chrome/browser/resources/hotword/state_manager.js
|
| diff --git a/chrome/browser/resources/hotword/state_manager.js b/chrome/browser/resources/hotword/state_manager.js
|
| index 9a42b1b63b75298ec5f32806f1930c118c511e87..ebe68355d80815250acd0df74ba2eaa7c479bb31 100644
|
| --- a/chrome/browser/resources/hotword/state_manager.js
|
| +++ b/chrome/browser/resources/hotword/state_manager.js
|
| @@ -301,7 +301,10 @@ cr.define('hotword', function() {
|
|
|
| if (!this.pluginManager_) {
|
| this.state_ = State_.STARTING;
|
| - this.pluginManager_ = new hotword.NaClManager(this.loggingEnabled_);
|
| + var isHotwordStream = this.isAlwaysOnEnabled() &&
|
| + this.hotwordStatus_.hotwordHardwareAvailable;
|
| + this.pluginManager_ = new hotword.NaClManager(this.loggingEnabled_,
|
| + isHotwordStream);
|
| this.pluginManager_.addEventListener(hotword.constants.Event.READY,
|
| this.onReady_.bind(this));
|
| this.pluginManager_.addEventListener(hotword.constants.Event.ERROR,
|
|
|