Commit 07f5eb56 authored by Yue Li's avatar Yue Li Committed by Commit Bot

Remove obsolete dcheck in Assistant service

Bug: b/112447220
Test: Manual Test
Change-Id: Idcab08aca234f9f5528529aedb71fbbbdfa29d1d
Reviewed-on: https://chromium-review.googlesource.com/1171551Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
Commit-Queue: Yue Li <updowndota@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582335}
parent 1571d750
......@@ -98,11 +98,7 @@ void Service::OnBindInterface(
}
void Service::BindAssistantConnection(mojom::AssistantRequest request) {
// Assistant interface is supposed to be used when UI is actually in
// use, which should be way later than assistant is created.
DCHECK(assistant_manager_service_);
DCHECK(assistant_manager_service_->GetState() ==
AssistantManagerService::State::RUNNING);
bindings_.AddBinding(assistant_manager_service_.get(), std::move(request));
}
......
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