mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
Remove the workaround of extra enrollment for the fixed b/243129174
Bug: 284475725 Test: atest BiometricsE2eTests Change-Id: I92a2153d45e01543dcfdccf131905b6fd557fb34
This commit is contained in:
@@ -263,11 +263,6 @@ void FakeFingerprintEngine::enumerateEnrollmentsImpl(ISessionCallback* cb) {
|
||||
BEGIN_OP(0);
|
||||
|
||||
std::vector<int32_t> ids;
|
||||
// There are some enrollment sync issue with framework, which results in
|
||||
// a single template removal during the very firt sync command after reboot.
|
||||
// This is a workaround for now. TODO(b/243129174)
|
||||
ids.push_back(-1);
|
||||
|
||||
for (auto& enrollment : FingerprintHalProperties::enrollments()) {
|
||||
auto id = enrollment.value_or(0);
|
||||
if (id > 0) {
|
||||
|
||||
Reference in New Issue
Block a user