Commit 4c65946f authored by antrim's avatar antrim Committed by Commit bot

Fix incorrect handling of UNKNOWN captive portal state by supervised user creation screen.

BUG=480505
R=nkostylev@chromium.org

Review URL: https://codereview.chromium.org/1100363002

Cr-Commit-Position: refs/heads/master@{#326671}
parent 29f2a062
...@@ -156,7 +156,8 @@ void SupervisedUserCreationScreen::OnPortalDetectionCompleted( ...@@ -156,7 +156,8 @@ void SupervisedUserCreationScreen::OnPortalDetectionCompleted(
if (state.status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE) { if (state.status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE) {
get_base_screen_delegate()->HideErrorScreen(this); get_base_screen_delegate()->HideErrorScreen(this);
histogram_helper_->OnErrorHide(); histogram_helper_->OnErrorHide();
} else { } else if (state.status !=
NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_UNKNOWN) {
on_error_screen_ = true; on_error_screen_ = true;
ErrorScreen* screen = get_base_screen_delegate()->GetErrorScreen(); ErrorScreen* screen = get_base_screen_delegate()->GetErrorScreen();
ConfigureErrorScreen(screen, network, state.status); ConfigureErrorScreen(screen, network, state.status);
......
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