From 46a5128e2811917be35da35a95706a865406e129 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 5 May 2016 16:50:44 +0200 Subject: [PATCH] don't use getCurrentParamsCopy() to update a call or accept an update of call. --- src/org/linphone/CallActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/linphone/CallActivity.java b/src/org/linphone/CallActivity.java index 4c830acb8..7a03d80ac 100644 --- a/src/org/linphone/CallActivity.java +++ b/src/org/linphone/CallActivity.java @@ -724,7 +724,7 @@ public class CallActivity extends Activity implements OnClickListener, SensorEve } if (isVideoEnabled) { - LinphoneCallParams params = call.getCurrentParamsCopy(); + LinphoneCallParams params = LinphoneManager.getLc().createCallParams(call); params.setVideoEnabled(false); LinphoneManager.getLc().updateCall(call, params); } else { @@ -1317,7 +1317,7 @@ public class CallActivity extends Activity implements OnClickListener, SensorEve return; } - LinphoneCallParams params = call.getCurrentParamsCopy(); + LinphoneCallParams params = LinphoneManager.getLc().createCallParams(call); if (accept) { params.setVideoEnabled(true); LinphoneManager.getLc().enableVideo(true, true);