virtual-device: Set needed finger state on enroll and verify
This commit is contained in:
parent
f0443ba2f3
commit
50f522583e
1 changed files with 2 additions and 0 deletions
|
@ -279,6 +279,7 @@ dev_verify (FpDevice *dev)
|
|||
g_autofree char *scan_id = NULL;
|
||||
|
||||
fpi_device_get_verify_data (dev, &print);
|
||||
fpi_device_report_finger_status (dev, FP_FINGER_STATUS_NEEDED);
|
||||
|
||||
scan_id = process_cmds (self, TRUE, &error);
|
||||
if (should_wait_for_command (self, error))
|
||||
|
@ -325,6 +326,7 @@ dev_enroll (FpDevice *dev)
|
|||
FpPrint *print = NULL;
|
||||
g_autofree char *id = NULL;
|
||||
|
||||
fpi_device_report_finger_status (dev, FP_FINGER_STATUS_NEEDED);
|
||||
fpi_device_get_enroll_data (dev, &print);
|
||||
|
||||
id = process_cmds (self, TRUE, &error);
|
||||
|
|
Loading…
Reference in a new issue