on xenial help sign in
Don't try to re-focus the dialer-app when callManager.hasCalls changes
0d13a6fMichael Terry
qml/Shell.qml+1−1
@@ -652,7 +652,7 @@ Item {
652 target: callManager
652 target: callManager
653
653
654 onHasCallsChanged: {
654 onHasCallsChanged: {
655− if (shell.locked && callManager.hasCalls) {
655+ if (shell.locked && callManager.hasCalls && greeter.lockedApp !== "dialer-app") {
656 // We just received an incoming call while locked. The
656 // We just received an incoming call while locked. The
657 // indicator will have already launched dialer-app for us, but
657 // indicator will have already launched dialer-app for us, but
658 // there is a race between "hasCalls" changing and the dialer
658 // there is a race between "hasCalls" changing and the dialer