| Index: chrome/browser/chromeos/login/wizard_controller.cc
|
| diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
|
| index 8253a2e3494e7c1e66f784c4a19cc0f3b742f95b..5d0ee9dc455f6912a6b2520a817ef6e22856541d 100644
|
| --- a/chrome/browser/chromeos/login/wizard_controller.cc
|
| +++ b/chrome/browser/chromeos/login/wizard_controller.cc
|
| @@ -1119,6 +1119,15 @@ void WizardController::AutoLaunchKioskApp() {
|
| return;
|
| }
|
|
|
| + bool device_disabled = false;
|
| + CrosSettings::Get()->GetBoolean(kDeviceDisabled, &device_disabled);
|
| + if (device_disabled && system::DeviceDisablingManager::
|
| + HonorDeviceDisablingDuringNormalOperation()) {
|
| + // If the device is disabled, bail out. A device disabled screen will be
|
| + // shown by the DeviceDisablingManager.
|
| + return;
|
| + }
|
| +
|
| host_->StartAppLaunch(app_id, false /* diagnostic_mode */);
|
| }
|
|
|
|
|