Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc |
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc |
index 04a96fb508b65f32959eeb01c0f6b2edd7eda355..1202c44363589b60cb2e4f115e73538d152f6f82 100644 |
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc |
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc |
@@ -64,6 +64,8 @@ KeyedService* EasyUnlockTpmKeyManagerFactory::BuildServiceInstanceFor( |
content::BrowserContext* context) const { |
Profile* profile = Profile::FromBrowserContext(context); |
const user_manager::User* user = NULL; |
+ if (chromeos::ProfileHelper::IsLockScreenAppProfile(profile)) |
+ return nullptr; |
if (!chromeos::ProfileHelper::IsSigninProfile(profile)) |
user = chromeos::ProfileHelper::Get()->GetUserByProfile(profile); |
return new EasyUnlockTpmKeyManager( |