Fix INVITE without SDP.

This commit is contained in:
Guillaume Beraudo 2012-12-04 16:28:50 +01:00
parent c24007813e
commit 8237d96c67
2 changed files with 5 additions and 5 deletions

View file

@ -165,11 +165,11 @@ public class IncomingCallActivity extends Activity implements LinphoneOnCallStat
if (!LinphoneActivity.isInstanciated()) {
return;
}
if (mCall.getRemoteParams().getVideoEnabled() && LinphoneManager.getInstance().isAutoAcceptCamera()) {
final LinphoneCallParams remoteParams = mCall.getRemoteParams();
if (remoteParams != null && remoteParams.getVideoEnabled()
&& LinphoneManager.getInstance().isAutoAcceptCamera()) {
LinphoneActivity.instance().startVideoActivity(mCall);
}
else {
} else {
LinphoneActivity.instance().startIncallActivity(mCall);
}
}

@ -1 +1 @@
Subproject commit 07c4120600ac9e7060f619fa2b94a7b29cbe79da
Subproject commit ba478b89e88f5b60f6f3ee5bfe9c636cd8648f3e