@@ -483,15 +483,34 @@ Showable {
483483 }
484484
485485 Biometryd.Observer {
486+ id: biometryd
486487 objectName: "biometryd"
488+
489+ property var operation
490+
491+ Component.onCompleted: {
492+ if (Biometryd.defaultDevice) {
493+ var identifier = Biometryd.defaultDevice.identifier;
494+ operation = identifier.identifyUser();
495+ operation.start(biometryd);
496+ }
497+ }
498+
499+ Component.onDestruction: {
500+ if (operation)
501+ operation.cancel();
502+ }
503+
487504 onSucceeded: {
488505 // FIXME validate result.uid
489506 d.fingerprintFailureCount = 0;
507+ operation.start(biometryd);
490508 if (root.active)
491509 root.forcedUnlock = true;
492510 }
493511 onFailed: {
494512 d.fingerprintFailureCount++;
513+ operation.start(biometryd);
495514 if (loader.item)
496515 loader.item.showErrorMessage(i18n.tr("Try again"));
497516 }