| Index: chrome/browser/ui/app_list/start_page_service.cc
|
| diff --git a/chrome/browser/ui/app_list/start_page_service.cc b/chrome/browser/ui/app_list/start_page_service.cc
|
| index 2b479c0e3bcdf87f69ac9df3ad7825e2bd68e5b5..9de8262c34878e791bd7218ee287772ec77f08df 100644
|
| --- a/chrome/browser/ui/app_list/start_page_service.cc
|
| +++ b/chrome/browser/ui/app_list/start_page_service.cc
|
| @@ -445,9 +445,9 @@ bool StartPageService::HotwordEnabled() {
|
| if (HotwordService::IsExperimentalHotwordingEnabled()) {
|
| HotwordService* service = HotwordServiceFactory::GetForProfile(profile_);
|
| return state_ != SPEECH_RECOGNITION_OFF &&
|
| - HotwordServiceFactory::IsServiceAvailable(profile_) &&
|
| service &&
|
| - (service->IsSometimesOnEnabled() || service->IsAlwaysOnEnabled());
|
| + (service->IsSometimesOnEnabled() || service->IsAlwaysOnEnabled()) &&
|
| + service->IsServiceAvailable();
|
| }
|
| return HotwordServiceFactory::IsServiceAvailable(profile_) &&
|
| profile_->GetPrefs()->GetBoolean(prefs::kHotwordSearchEnabled);
|
|
|