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

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

RemovalClient sendRemoved should check remaining instead of fingerId

Test: for each of the following, make sure code goes into
if (client != null && client.onRemoved(fingerId, groupId, remaining)) {
    removeClient(client);
}

1) remove single fingerprint
2) remove all fingerprint by removing password

Change-Id: I6f1ebd42c05fd57225dd4808766791ff1922b09e
Fixes: 37992170
parent d6bfaba5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ public abstract class RemovalClient extends ClientMonitor {
        } catch (RemoteException e) {
            Slog.w(TAG, "Failed to notify Removed:", e);
        }
        return fingerId == 0;
        return remaining == 0;
    }

    @Override