on xenial help sign in
If user backs out of active call to greeter, then launches dialer by any means, make dialer lockedApp again
commit7ce9bee22eb645dc0deb7aa63bdafb665168ebc3 authorMichael Terry <michael.terry@canonical.com> dateWed 8 Oct 2014, 17:04 (12 years ago) parent3d2b41c
1 file changed+6
qml/Shell.qml+6
qml/Shell.qml+6
@@ -172,6 +172,12 @@ Item {
172172 target: ApplicationManager
173173 onFocusRequested: {
174174 if (greeter.narrowMode) {
175+ if (appId === "dialer-app" && callManager.hasCalls) {
176+ // If we are in the middle of a call, make dialer lockedApp and show it.
177+ // This can happen if user backs out of dialer back to greeter, then
178+ // launches dialer again.
179+ greeter.lockedApp = appId;
180+ }
175181 if (greeter.hasLockedApp) {
176182 if (appId === greeter.lockedApp) {
177183 lockscreen.hide() // show locked app