Commit 63eca33b authored by Kyle Horimoto's avatar Kyle Horimoto Committed by Commit Bot

[CrOS MultiDevice] Fix an error in FakeCryptAuthEnrollmentManager.

Once enrollment has completed successfully, enrollment should be
considered valid.

Bug: 824568, 752273
Change-Id: I5c7e209df750af48b2d4002a6fc308bbbeb0e1c0
Reviewed-on: https://chromium-review.googlesource.com/1006216
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Commit-Queue: Ryan Hansberry <hansberry@chromium.org>
Reviewed-by: default avatarRyan Hansberry <hansberry@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549729}
parent 04784d08
...@@ -22,6 +22,7 @@ void FakeCryptAuthEnrollmentManager::FinishActiveEnrollment( ...@@ -22,6 +22,7 @@ void FakeCryptAuthEnrollmentManager::FinishActiveEnrollment(
if (success) { if (success) {
last_enrollment_time_ = enrollment_finish_time; last_enrollment_time_ = enrollment_finish_time;
is_enrollment_valid_ = true;
is_recovering_from_failure_ = false; is_recovering_from_failure_ = false;
} else { } else {
is_recovering_from_failure_ = true; is_recovering_from_failure_ = true;
......
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