virtual-device: Add support for reporting device Retry "errors"

This commit is contained in:
Marco Trevisan (Treviño)
2021-01-24 17:16:48 +01:00
parent 546f35132c
commit f0443ba2f3
3 changed files with 27 additions and 2 deletions
@@ -72,6 +72,10 @@ dev_identify (FpDevice *dev)
new_scan,
NULL);
}
else if (error && error->domain == FP_DEVICE_RETRY)
{
fpi_device_identify_report (dev, NULL, NULL, g_steal_pointer (&error));
}
fpi_device_identify_complete (dev, g_steal_pointer (&error));
}