| Index: ash/common/system/tray/system_tray.cc
|
| diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc
|
| index 7e5c239d276866b2d13ee623da9702dd81def050..655539df265e13883de9a48017d53f98ea009fab 100644
|
| --- a/ash/common/system/tray/system_tray.cc
|
| +++ b/ash/common/system/tray/system_tray.cc
|
| @@ -538,8 +538,11 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items,
|
| BubbleCreationType creation_type,
|
| bool persistent) {
|
| // No system tray bubbles in kiosk mode.
|
| - if (WmShell::Get()->system_tray_delegate()->GetUserLoginStatus() ==
|
| - LoginStatus::KIOSK_APP) {
|
| + SystemTrayDelegate* system_tray_delegate =
|
| + WmShell::Get()->system_tray_delegate();
|
| + if (system_tray_delegate->GetUserLoginStatus() == LoginStatus::KIOSK_APP ||
|
| + system_tray_delegate->GetUserLoginStatus() ==
|
| + LoginStatus::ARC_KIOSK_APP) {
|
| return;
|
| }
|
|
|
|
|