Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5405b21 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Default face lockout should be duration==0

The default HAL never actually gets rejects, so should not
have a non-zero lockout

Bug: 172957689
Test: atest CtsBiometricsTestCases
Change-Id: I74af8bd0a8a25f509b5572543dfef7d621f24c4e
parent 22a57205
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@ using android::hardware::biometrics::face::V1_0::OptionalUint64;
constexpr uint64_t kDeviceId = 123;
// Arbitrary value.
constexpr uint64_t kAuthenticatorId = 987;
// Arbitrary value.
constexpr uint64_t kLockoutDuration = 555;
// Not locked out.
constexpr uint64_t kLockoutDuration = 0;

BiometricsFace::BiometricsFace() : mRandom(std::mt19937::default_seed) {}