@@ -483,15 +483,34 @@ Showable {
485 Biometryd.Observer {
485 Biometryd.Observer {
486 objectName: "biometryd"
487 objectName: "biometryd"
489+ property var operation
491+ Component.onCompleted: {
492+ if (Biometryd.defaultDevice) {
493+ var identifier = Biometryd.defaultDevice.identifier;
494+ operation = identifier.identifyUser();
495+ operation.start(biometryd);
499+ Component.onDestruction: {
487 onSucceeded: {
504 onSucceeded: {
488 // FIXME validate result.uid
505 // FIXME validate result.uid
489 d.fingerprintFailureCount = 0;
506 d.fingerprintFailureCount = 0;
507+ operation.start(biometryd);
490 if (root.active)
508 if (root.active)
491 root.forcedUnlock = true;
509 root.forcedUnlock = true;
493 onFailed: {
511 onFailed: {
494 d.fingerprintFailureCount++;
512 d.fingerprintFailureCount++;
513+ operation.start(biometryd);
495 if (loader.item)
514 if (loader.item)
496 loader.item.showErrorMessage(i18n.tr("Try again"));
515 loader.item.showErrorMessage(i18n.tr("Try again"));