Index: chrome/browser/resources/hotword/manager.js |
diff --git a/chrome/browser/resources/hotword/manager.js b/chrome/browser/resources/hotword/manager.js |
index 0fc364b428fc63630828edd15d145da83c08b4a8..7095fc5967d34b4fd4acdac4b3588e518a378bbc 100644 |
--- a/chrome/browser/resources/hotword/manager.js |
+++ b/chrome/browser/resources/hotword/manager.js |
@@ -19,6 +19,7 @@ |
// Hotwording state. |
var stateManager = new hotword.StateManager(); |
+ var pageAudioManager = new hotword.PageAudioManager(stateManager); |
// Detect Chrome startup and make sure we get a chance to run. |
chrome.runtime.onStartup.addListener(function() { |
@@ -50,6 +51,10 @@ |
hotword.constants.SessionSource.LAUNCHER, |
function() { |
chrome.hotwordPrivate.setHotwordSessionState(true, function() {}); |
+ }, |
+ function() { |
+ chrome.hotwordPrivate.notifyHotwordRecognition('search', |
+ function() {}); |
}); |
}); |