Commit e014345e authored by amistry's avatar amistry Committed by Commit bot

Remove hardware check that enables always-on hotwording.

BUG=448859

Review URL: https://codereview.chromium.org/805943005

Cr-Commit-Position: refs/heads/master@{#311797}
parent 9e887ea1
......@@ -47,6 +47,9 @@ bool HotwordServiceFactory::IsHotwordAllowed(BrowserContext* context) {
// static
bool HotwordServiceFactory::IsHotwordHardwareAvailable() {
// Temporarily disabling hotword hardware check for M41. Will be
// re-enabled for M42.
#if 0
#if defined(OS_CHROMEOS)
if (chromeos::CrasAudioHandler::IsInitialized()) {
chromeos::AudioDeviceList devices;
......@@ -59,6 +62,7 @@ bool HotwordServiceFactory::IsHotwordHardwareAvailable() {
}
}
#endif
#endif // 0
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
return command_line->HasSwitch(switches::kEnableExperimentalHotwordHardware);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment