@@ -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();