Commit 7266cb2b authored by alemate's avatar alemate Committed by Commit bot

ChromeOS: enable MD OOBE by default.

BUG=604119
TEST=none

Review-Url: https://codereview.chromium.org/2530453002
Cr-Commit-Position: refs/heads/master@{#435579}
parent 3e7fe352
......@@ -335,8 +335,8 @@ void WizardController::Init(const std::string& first_screen_name) {
// or when resuming an OOBE that had it disabled or unset. We use an if/else
// here to try and not set state when it is the default value so it can
// change and affect the OOBE again.
if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kEnableMdOobe))
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kDisableMdOobe))
SetShowMdOobe(false);
else if ((screen_pref.empty() ||
GetLocalState()->HasPrefPath(prefs::kOobeMdMode)) ||
......
......@@ -241,8 +241,8 @@ const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions";
// rather than the kiosk app mode.
const char kEnableKioskMode[] = "enable-kiosk-mode";
// Enables material design OOBE UI.
const char kEnableMdOobe[] = "enable-md-oobe";
// Disables material design OOBE UI.
const char kDisableMdOobe[] = "disable-md-oobe";
// Enables notifications about captive portals in session.
const char kEnableNetworkPortalNotification[] =
......
......@@ -84,7 +84,7 @@ CHROMEOS_EXPORT extern const char kEnableFilesDetailsPanel[];
CHROMEOS_EXPORT extern const char kEnableFilesQuickView[];
CHROMEOS_EXPORT extern const char kEnableFirstRunUITransitions[];
CHROMEOS_EXPORT extern const char kEnableKioskMode[];
CHROMEOS_EXPORT extern const char kEnableMdOobe[];
CHROMEOS_EXPORT extern const char kDisableMdOobe[];
CHROMEOS_EXPORT extern const char kEnableNetworkPortalNotification[];
CHROMEOS_EXPORT extern const char kEnablePhysicalKeyboardAutocorrect[];
CHROMEOS_EXPORT extern const char kEnableRequestTabletSite[];
......
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