| Index: ash/common/system/web_notification/web_notification_tray.cc
|
| diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
|
| index 787c46e05a20a95089516f1ab861fcb40bcea7f9..559315152a255131592dc7ca3497b877e01975ec 100644
|
| --- a/ash/common/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/common/system/web_notification/web_notification_tray.cc
|
| @@ -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();
|
| }
|
|
|
|
|