Chromium Code Reviews| Index: chrome/browser/search/hotword_service_factory.cc |
| diff --git a/chrome/browser/search/hotword_service_factory.cc b/chrome/browser/search/hotword_service_factory.cc |
| index 8884ad6c9f9becf3a80a9e1fde44c07e53ecd4c0..ee3067974c41428451ee24664b9bbbc9d79682ae 100644 |
| --- a/chrome/browser/search/hotword_service_factory.cc |
| +++ b/chrome/browser/search/hotword_service_factory.cc |
| @@ -47,6 +47,9 @@ bool HotwordServiceFactory::IsHotwordAllowed(BrowserContext* context) { |
| // static |
| bool HotwordServiceFactory::IsHotwordHardwareAvailable() { |
| +// Temporarily disabling hotword hardware check for M42. Will be |
|
Lei Zhang
2015/03/13 06:19:32
If you are not sure what milestone the feature wil
Anand Mistry (off Chromium)
2015/03/13 06:26:03
Hm, how do you do that?
|
| +// re-enabled for M43. |
| +#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); |
| } |