Ensure udfps icon doesnt disappear in enroll

Test: Manual
Fixes: 306280706
Change-Id: I7fd41d53b891fcfd2140ad1e2b1376ee4c017591
This commit is contained in:
Joshua McCloskey
2023-11-28 22:06:16 +00:00
parent 4b2a052628
commit a16a36c911

View File

@@ -182,7 +182,7 @@ public class UdfpsEnrollHelper extends InstrumentedFragment {
* Called when a fingerprint image has been acquired, but wasn't processed yet.
*/
public void onAcquired(boolean isAcquiredGood) {
if (mListener != null && mTotalSteps != -1) {
if (mListener != null) {
mListener.onAcquired(isAcquiredGood && animateIfLastStep());
}
}