Fix fingerprint enrollment bug that fails during last leg

- Upon configuration changes during the last leg of enrollment,
  a check is required to see if maximum progress has been reached.
  If so, the next intent has to be launched.

bug: 36656476
Test: Manually tested and verified.
Change-Id: Ie4ec75cb775f83536ad0127011aabcc87c6c5ae0
This commit is contained in:
Ajay Nadathur
2017-06-29 16:38:30 -07:00
parent bd429f42cb
commit 0449335cd8

View File

@@ -341,6 +341,9 @@ public class FingerprintEnrollEnrolling extends FingerprintEnrollBase
animateProgress(progress);
} else {
mProgressBar.setProgress(progress);
if (progress >= PROGRESS_BAR_MAX) {
mDelayedFinishRunnable.run();
}
}
}