Index: chrome/browser/chromeos/drive/file_system_util.cc |
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc |
index dbb73a7baea8421a08d3f831fb6ae8b6517c4860..4ff9eb2d47118c8e74b6381c6b3a417ef6492bd0 100644 |
--- a/chrome/browser/chromeos/drive/file_system_util.cc |
+++ b/chrome/browser/chromeos/drive/file_system_util.cc |
@@ -158,7 +158,8 @@ Profile* ExtractProfileFromPath(const base::FilePath& path) { |
for (size_t i = 0; i < profiles.size(); ++i) { |
Profile* original_profile = profiles[i]->GetOriginalProfile(); |
if (original_profile == profiles[i] && |
- !chromeos::ProfileHelper::IsSigninProfile(original_profile)) { |
+ !chromeos::ProfileHelper::IsSigninProfile(original_profile) && |
+ !chromeos::ProfileHelper::IsLockScreenAppProfile(original_profile)) { |
const base::FilePath base = GetDriveMountPointPath(original_profile); |
if (base == path || base.IsParent(path)) |
return original_profile; |