Commit 92c94bc1 authored by dzhioev@chromium.org's avatar dzhioev@chromium.org

Fixed IsCurrentUserNew state for supervised users.

IsCurrentUserNew always returned true for supervised users after recent
refactoring of UserManager.

BUG=387614

Review URL: https://codereview.chromium.org/437233002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287366 0039d316-1c4b-4281-b951-d872f2087c98
parent 131359c4
...@@ -633,7 +633,7 @@ void ChromeUserManager::SupervisedUserLoggedIn(const std::string& user_id) { ...@@ -633,7 +633,7 @@ void ChromeUserManager::SupervisedUserLoggedIn(const std::string& user_id) {
SetIsCurrentUserNew(true); SetIsCurrentUserNew(true);
WallpaperManager::Get()->SetUserWallpaperNow(user_id); WallpaperManager::Get()->SetUserWallpaperNow(user_id);
} else { } else {
SetIsCurrentUserNew(true); SetIsCurrentUserNew(false);
} }
} }
......
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