Commit 3461484a authored by Wei Lee's avatar Wei Lee Committed by Chromium LUCI CQ

[CCA] Enable CCA under guest mode

Bug: b/172343942
Test: CCA is shown under guest mode
Change-Id: If3c39c52c81287d7493783d2d1e8ae352821b22b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2592213Reviewed-by: default avatarShik Chen <shik@chromium.org>
Reviewed-by: default avatarGiovanni Ortuño Urquidi <ortuno@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Auto-Submit: Wei Lee <wtlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837910}
parent 5ee78982
...@@ -357,8 +357,7 @@ bool SystemWebAppManager::IsAppEnabled(SystemAppType type) { ...@@ -357,8 +357,7 @@ bool SystemWebAppManager::IsAppEnabled(SystemAppType type) {
return true; return true;
case SystemAppType::CAMERA: case SystemAppType::CAMERA:
return base::FeatureList::IsEnabled( return base::FeatureList::IsEnabled(
chromeos::features::kCameraSystemWebApp) && chromeos::features::kCameraSystemWebApp);
!user_manager::UserManager::Get()->IsLoggedInAsGuest();
case SystemAppType::TERMINAL: case SystemAppType::TERMINAL:
return true; return true;
case SystemAppType::MEDIA: case SystemAppType::MEDIA:
......
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