lobster: use overridden lobster status
Previously crrev/c/6217561 has added the flag to override lobster system state. This CL uses the overridden value in determining whether to use the consent screen again, or continue to show the lobster result UI. Bug: b:348279617 Change-Id: If32dab4e339de961e77130d7b3596863f3442c20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6217616 Reviewed-by: Michelle Chen <michellegc@google.com> Auto-Submit: Chuong Ho <hdchuong@chromium.org> Commit-Queue: Chuong Ho <hdchuong@chromium.org> Cr-Commit-Position: refs/heads/main@{#1414750}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
9bcde12bda
commit
69672f3e89
@ -115,7 +115,7 @@ void LobsterController::StartSession(std::unique_ptr<LobsterClient> client,
|
||||
lobster_status = LobsterStatus::kConsentNeeded;
|
||||
}
|
||||
|
||||
switch (lobster_client_ptr->GetSystemState().status) {
|
||||
switch (lobster_status) {
|
||||
case LobsterStatus::kConsentNeeded:
|
||||
active_session_->ShowDisclaimerUIAndCacheQuery(query);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user