From b7b91e77bbc91fa14d672c91d464a91902e21733 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 15 Dec 2020 15:20:45 +0100 Subject: [PATCH] dbus: Add new enroll-duplicate error code This will be returned if the print has alread been enrolled on the system. --- src/device.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/device.xml b/src/device.xml index edc62db..362ee97 100644 --- a/src/device.xml +++ b/src/device.xml @@ -254,6 +254,16 @@ to resolve this error without any notification. + + enroll-duplicate + + The print has already been enrolled, Device.EnrollStop should now be called. + + The user should enroll a different finger, or delete the print that has been enrolled already. + This print may be enrolled for a different user. + Note that an old duplicate (e.g. from a previous install) will be automatically garbage collected and should not cause any issues. + + enroll-disconnected