Commit fcf01df7 authored by Thomas Tellier's avatar Thomas Tellier Committed by Chromium LUCI CQ

[CrOs] Fix light colors of bottom status indicator on login/lock screen

Bug: 1104336
Change-Id: If2e115d6de11f15340b8464720315f0ff2433f0f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2592795
Commit-Queue: Thomas Tellier <tellier@google.com>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837097}
parent 03100289
......@@ -775,13 +775,13 @@ void LockContentsView::ShowEnterpriseDomainManager(
return;
bottom_status_indicator_->SetIcon(
chromeos::kEnterpriseIcon,
AshColorProvider::ContentLayerType::kButtonIconColorPrimary);
AshColorProvider::ContentLayerType::kIconColorPrimary);
bottom_status_indicator_->SetText(l10n_util::GetStringFUTF16(
IDS_ASH_LOGIN_MANAGED_DEVICE_INDICATOR, ui::GetChromeOSDeviceName(),
base::UTF8ToUTF16(entreprise_domain_manager)));
bottom_status_indicator_->SetEnabledTextColors(
AshColorProvider::Get()->GetContentLayerColor(
AshColorProvider::ContentLayerType::kButtonLabelColorPrimary));
AshColorProvider::ContentLayerType::kTextColorPrimary));
bottom_status_indicator_->set_role_for_accessibility(
ax::mojom::Role::kButton);
bottom_status_indicator_status_ = BottomIndicatorState::kManagedDevice;
......
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