| Index: chrome/browser/chromeos/arc/arc_auth_service.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| index a342fc0878629bbb990c39a4211cd71a78bb7bc8..6e8b179def052d642b329c9b96922fb857805f4d 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
|
| @@ -433,9 +433,10 @@ void ArcAuthService::OnRobotAuthCodeFetched(
|
| return;
|
| }
|
|
|
| - account_info_notifier_->Notify(
|
| - !IsOptInVerificationDisabled(), robot_auth_code,
|
| - mojom::ChromeAccountType::ROBOT_ACCOUNT, false);
|
| + account_info_notifier_->Notify(!IsOptInVerificationDisabled(),
|
| + robot_auth_code,
|
| + mojom::ChromeAccountType::ROBOT_ACCOUNT,
|
| + policy_util::IsAccountManaged(profile_));
|
| account_info_notifier_.reset();
|
| }
|
|
|
| @@ -473,7 +474,9 @@ void ArcAuthService::OnSignInComplete() {
|
| return;
|
|
|
| profile_->GetPrefs()->SetBoolean(prefs::kArcSignedIn, true);
|
| - if (!IsOptInVerificationDisabled()) {
|
| + // Don't show Play Store app for ARC Kiosk because the only one UI in kiosk
|
| + // mode must be the kiosk app and device is not needed for opt-in.
|
| + if (!IsOptInVerificationDisabled() && !IsArcKioskMode()) {
|
| playstore_launcher_.reset(
|
| new ArcAppLauncher(profile_, kPlayStoreAppId, true));
|
| }
|
|
|