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:
@@ -341,6 +341,9 @@ public class FingerprintEnrollEnrolling extends FingerprintEnrollBase
|
|||||||
animateProgress(progress);
|
animateProgress(progress);
|
||||||
} else {
|
} else {
|
||||||
mProgressBar.setProgress(progress);
|
mProgressBar.setProgress(progress);
|
||||||
|
if (progress >= PROGRESS_BAR_MAX) {
|
||||||
|
mDelayedFinishRunnable.run();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user