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 d9484ce7b209ab75da1c1bc269def940843cad84..b34991523eed899cf295f00f1cc610d6186fb184 100644 |
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc |
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc |
@@ -433,9 +433,9 @@ 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, true); |
peletskyi
2016/11/12 16:52:17
ArcAuthServiceBrowsertest must be fixed as well.
hidehiko
2016/11/14 05:29:24
policy_util::IsAccountManaged(profile_) looks bett
Sergey Poromov
2016/11/14 17:23:22
Done.
|
account_info_notifier_.reset(); |
} |
@@ -473,7 +473,7 @@ void ArcAuthService::OnSignInComplete() { |
return; |
profile_->GetPrefs()->SetBoolean(prefs::kArcSignedIn, true); |
- if (!IsOptInVerificationDisabled()) { |
+ if (!IsOptInVerificationDisabled() && !IsArcKioskMode()) { |
hidehiko
2016/11/14 05:29:24
Any comments?
Sergey Poromov
2016/11/14 17:23:22
Done.
|
playstore_launcher_.reset( |
new ArcAppLauncher(profile_, kPlayStoreAppId, true)); |
} |