| Index: chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| index 3e9377e3bbac21ac1eb8e62b821119ec21868600..c16306c81056b41f224177bcc11eaa664097fa12 100644
|
| --- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| @@ -660,8 +660,7 @@ void AppListViewDelegate::ToggleSpeechRecognitionForHotword(
|
| // should cause a search to happen for 'Ok Google', not two hotword triggers).
|
| // To get around this, always stop the session when switching to speech
|
| // recognition.
|
| - if (HotwordService::IsExperimentalHotwordingEnabled() &&
|
| - service && service->HotwordEnabled()) {
|
| + if (service && service->HotwordEnabled()) {
|
| HotwordService* hotword_service =
|
| HotwordServiceFactory::GetForProfile(profile_);
|
| if (hotword_service)
|
| @@ -699,7 +698,6 @@ void AppListViewDelegate::OnSpeechRecognitionStateChanged(
|
| // speech recognition has stopped. Do not request hotwording after the app
|
| // list has already closed.
|
| if (new_state == app_list::SPEECH_RECOGNITION_READY &&
|
| - HotwordService::IsExperimentalHotwordingEnabled() &&
|
| service && service->HotwordEnabled() &&
|
| controller_->GetAppListWindow()) {
|
| HotwordService* hotword_service =
|
|
|