Fix issue with incoming call view displayed when the call is answered.

This commit is contained in:
Guillaume BIENKOWSKI 2013-11-18 13:58:34 +01:00
parent c5022e51dc
commit 3fa6568e0b

View file

@ -109,7 +109,7 @@
instance->currentCallContextBeforeGoingBackground.cameraIsEnabled);
}
instance->currentCallContextBeforeGoingBackground.call = 0;
} else {
} else if ( linphone_call_get_state(call) == LinphoneCallIncomingReceived ) {
[[PhoneMainView instance ] displayIncomingCall:call];
// in this case, the ringing sound comes from the notification.
// To stop it we have to do the iOS7 ring fix...