Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: chrome/browser/resources/hotword/launcher_manager.js

Issue 685053002: Treat regular and always-on hotwording settings as mutually exclusive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/hotword/page_audio_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/hotword/launcher_manager.js
diff --git a/chrome/browser/resources/hotword/launcher_manager.js b/chrome/browser/resources/hotword/launcher_manager.js
index 4ad07b6f4711d734a29b7a825b6c3f51df810267..59646ea5a9a1dad0cb3eb0f78153e5646ce4e64e 100644
--- a/chrome/browser/resources/hotword/launcher_manager.js
+++ b/chrome/browser/resources/hotword/launcher_manager.js
@@ -23,8 +23,7 @@ cr.define('hotword', function() {
/** @override */
enabled: function() {
- return this.stateManager.isEnabled() &&
- !this.stateManager.isAlwaysOnEnabled();
+ return this.stateManager.isSometimesOnEnabled();
},
/** @override */
« no previous file with comments | « no previous file | chrome/browser/resources/hotword/page_audio_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698