| Index: ash/shelf/shelf_widget.cc
|
| diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
|
| index f912011365f934f25a5be883108fd0fcb12ada19..2d892535d02c0c3c820c5e08a525ef237cfc3ac0 100644
|
| --- a/ash/shelf/shelf_widget.cc
|
| +++ b/ash/shelf/shelf_widget.cc
|
| @@ -714,6 +714,9 @@ bool ShelfWidget::IsShelfHiddenBehindBlackBar() const {
|
|
|
| // static
|
| bool ShelfWidget::ShelfAlignmentAllowed() {
|
| + if (Shell::GetInstance()->system_tray_delegate()->IsUserSupervised())
|
| + return false;
|
| +
|
| user::LoginStatus login_status =
|
| Shell::GetInstance()->system_tray_delegate()->GetUserLoginStatus();
|
|
|
|
|