on xenial help sign in
Don't refocus the dialer-app when a call is started by the user. Because of how qtmir works, this would cause the dialer-app to unfocus momentarily, causing interface oddities for the user. Fixes: #1413065
54c1019Michael Terry
qml/Shell.qml+1−1
@@ -664,7 +664,7 @@ Item {
664 target: callManager
664 target: callManager
665
665
666 onHasCallsChanged: {
666 onHasCallsChanged: {
667− if (shell.locked && callManager.hasCalls) {
667+ if (shell.locked && callManager.hasCalls && greeter.lockedApp !== "dialer-app") {
668 // We just received an incoming call while locked. The
668 // We just received an incoming call while locked. The
669 // indicator will have already launched dialer-app for us, but
669 // indicator will have already launched dialer-app for us, but
670 // there is a race between "hasCalls" changing and the dialer
670 // there is a race between "hasCalls" changing and the dialer