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

Re-enable always-on hotwording for m42 on supported hardware.

Revert "Remove hardware check that enables always-on hotwording."

This reverts commit e014345e.

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

Cr-Commit-Position: refs/heads/master@{#313214}
parent 8eb15cc4
......@@ -47,9 +47,6 @@ 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;
......@@ -62,7 +59,6 @@ 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