Updated Fingerprint enrollment logging
Test: Verified regular fingerprint enrollment correctly logged enrollment. Test: Verified that the find fingerprint sensor activity no longer falsely reports a failed enrollment. Bug: 175316123 Fingerprint enrollment shows a find sensor screen which makes a call to FingerprintManager.enroll(), the purpose is to get the user to locate the sensor. The consequence was that logging built into the framework was incorrectly logging a failed enrollment after cancellation. Change-Id: I4777613fe521f04cc97c471e0a1e85e5809d7f06
This commit is contained in:
@@ -109,6 +109,7 @@ public class FingerprintEnrollFindSensor extends BiometricEnrollBase {
|
||||
FingerprintEnrollEnrolling.TAG_SIDECAR);
|
||||
if (mSidecar == null) {
|
||||
mSidecar = new FingerprintEnrollSidecar();
|
||||
mSidecar.logMetrics(false);
|
||||
getSupportFragmentManager().beginTransaction()
|
||||
.add(mSidecar, FingerprintEnrollEnrolling.TAG_SIDECAR)
|
||||
.commitAllowingStateLoss();
|
||||
|
||||
Reference in New Issue
Block a user