| Index: chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc b/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
|
| index b0681d7a3dc7629e239e8e25f5cdabd5959ed78c..37b53c4362cf7546ef78ce2a5bc09015862a2020 100644
|
| --- a/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
|
| +++ b/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
|
| @@ -147,8 +147,10 @@ UserPolicyManagerFactoryChromeOS::CreateManagerForProfile(
|
| const base::CommandLine* command_line =
|
| base::CommandLine::ForCurrentProcess();
|
| // Don't initialize cloud policy for the signin profile.
|
| - if (chromeos::ProfileHelper::IsSigninProfile(profile))
|
| + if (chromeos::ProfileHelper::IsSigninProfile(profile) ||
|
| + chromeos::ProfileHelper::IsLockScreenAppProfile(profile)) {
|
| return {};
|
| + }
|
|
|
| // |user| should never be nullptr except for the signin profile. This object
|
| // is created as part of the Profile creation, which happens right after
|
|
|