on xenial help sign in
Do not lock phone when greeter is running
9ac7165Michael Terry
qml/Shell.qml+1−1
@@ -645,7 +645,7 @@ FocusScope {
645 onDisplayPowerStateChange: {
645 onDisplayPowerStateChange: {
646 // We ignore any display-off signals when the proximity sensor
646 // We ignore any display-off signals when the proximity sensor
647 // is active. This usually indicates something like a phone call.
647 // is active. This usually indicates something like a phone call.
648− if (status == Powerd.Off && reason != Powerd.Proximity) {
648+ if (status == Powerd.Off && reason != Powerd.Proximity && !edgeDemo.running) {
649 greeter.showNow();
649 greeter.showNow();
650 }
650 }
651
651