mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-09-10 13:00:08 +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))
|
&idx))
|
||||||
{
|
{
|
||||||
match = g_ptr_array_index (prints, idx);
|
match = g_ptr_array_index (prints, idx);
|
||||||
|
fp_print_set_finger (new_scan, fp_print_get_finger (match));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!self->match_reported)
|
if (!self->match_reported)
|
||||||
|
|||||||
@@ -545,6 +545,9 @@ dev_verify (FpDevice *dev)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
success = fp_print_equal (print, new_scan);
|
success = fp_print_equal (print, new_scan);
|
||||||
|
|
||||||
|
if (success)
|
||||||
|
fp_print_set_finger (new_scan, fp_print_get_finger (print));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!self->match_reported)
|
if (!self->match_reported)
|
||||||
|
|||||||
Reference in New Issue
Block a user