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

Commit db25c7f0 authored by Jeff Pu's avatar Jeff Pu Committed by Automerger Merge Worker
Browse files

Merge "Remove the workaround of extra enrollment for the fixed b/243129174"...

Merge "Remove the workaround of extra enrollment for the fixed b/243129174" into udc-qpr-dev am: a8065908

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23710302



Change-Id: Ic0a1e34283eda50ef856749a5efd6d9898b09b45
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c21dea1e a8065908
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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) {