on xenial help sign in
Only listen for ID when screen is on
afbee3eMichael Terry
qml/Greeter/Greeter.qml+2
@@ -18,6 +18,7 @@ import QtQuick 2.4
18import AccountsService 0.1
18import AccountsService 0.1
19import Biometryd 0.0
19import Biometryd 0.0
20import GSettings 1.0
20import GSettings 1.0
21+import Powerd 0.1
21import Ubuntu.Components 1.3
22import Ubuntu.Components 1.3
22import Ubuntu.SystemImage 0.1
23import Ubuntu.SystemImage 0.1
23import Unity.Launcher 0.1
24import Unity.Launcher 0.1
@@ -488,6 +489,7 @@ Showable {
488
489
489 property var operation: null
490 property var operation: null
490 readonly property bool idEnabled: root.active &&
491 readonly property bool idEnabled: root.active &&
492+ Powerd.status === Powerd.On &&
491 Biometryd.available &&
493 Biometryd.available &&
492 AccountsService.enableFingerprintIdentification
494 AccountsService.enableFingerprintIdentification
493
495