commit | 8084cddbf7d2174e3a073555bbddf38c915539da | [log] [tgz] |
---|---|---|
author | Weilun Du <wdu@google.com> | Mon Dec 18 13:29:57 2017 -0800 |
committer | Weilun Du <wdu@google.com> | Tue Dec 19 11:15:00 2017 -0800 |
tree | 548fb55bdc5f2d6a90a0acfb87a1a7e90fa3e349 | |
parent | 24953a889e62f6e0383c665851ddacd43c4e139b [diff] |
Require two samples to enroll an new fingerprint template Settings app doesn't handle the case well when the fingerprint sensor only needs one touch to finish enrolling. Instead, we change the fingerprint HAL to require two touches. The finger ID associated with the last touch would be the one that will be recorded. Bug fix: Switched back to STATE_IDLE after completing enrollment. Reference: https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fingerprint.h#164 Bug: 69594238 Change-Id: I39f0da23d6ffea6003d05a5e75b0048e60289fac Signed-off-by: Weilun Du <wdu@google.com>