mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-09-09 04:40:06 +00:00
virtual-device: Set the finger on the new scanned prints
This commit is contained in:
@@ -77,6 +77,7 @@ dev_identify (FpDevice *dev)
|
||||
&idx))
|
||||
{
|
||||
match = g_ptr_array_index (prints, idx);
|
||||
fp_print_set_finger (new_scan, fp_print_get_finger (match));
|
||||
}
|
||||
|
||||
if (!self->match_reported)
|
||||
|
||||
@@ -545,6 +545,9 @@ dev_verify (FpDevice *dev)
|
||||
else
|
||||
{
|
||||
success = fp_print_equal (print, new_scan);
|
||||
|
||||
if (success)
|
||||
fp_print_set_finger (new_scan, fp_print_get_finger (print));
|
||||
}
|
||||
|
||||
if (!self->match_reported)
|
||||
|
||||
Reference in New Issue
Block a user