on xenial help sign in
Do not lock phone when greeter is running
commit9ac716500ab9f7e807de07bb94e88045c101cbe4 authorMichael Terry <michael.terry@canonical.com> dateWed 23 Jul 2014, 13:59 (12 years ago) parenta742b53
1 file changed+1−1
qml/Shell.qml+1−1
qml/Shell.qml+1−1
@@ -645,7 +645,7 @@ FocusScope {
645645 onDisplayPowerStateChange: {
646646 // We ignore any display-off signals when the proximity sensor
647647 // 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) {
649649 greeter.showNow();
650650 }
651651