Commit 4f78cb96 authored by yoshiki's avatar yoshiki Committed by Commit bot

Revert "Hide web notification tray when LoginStatus is locked"

This reverts commit 198e264e.

The root cause of the crash has been fixed and we don't need this patch now.

BUG=625357
TBR=warx@chromium.org

Review-Url: https://codereview.chromium.org/2151613002
Cr-Commit-Position: refs/heads/master@{#405239}
parent 350078de
......@@ -516,9 +516,8 @@ message_center::MessageCenter* WebNotificationTray::message_center() const {
bool WebNotificationTray::IsLoggedIn() const {
WmShell* shell = WmShell::Get();
LoginStatus status = shell->system_tray_delegate()->GetUserLoginStatus();
return status != LoginStatus::NOT_LOGGED_IN &&
status != LoginStatus::LOCKED &&
return shell->system_tray_delegate()->GetUserLoginStatus() !=
LoginStatus::NOT_LOGGED_IN &&
!shell->GetSessionStateDelegate()->IsInSecondaryLoginScreen();
}
......
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