From 43f66a1ba6c6d016d3c9b4d968423ed2d73ee763 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 8 Jan 2013 11:12:05 +0100 Subject: [PATCH] Small fix to prevent the app to consider itself as in video mode after a pause/resume if correspondent in low bandwidth mode --- src/org/linphone/InCallActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/linphone/InCallActivity.java b/src/org/linphone/InCallActivity.java index 475f724e5..d894df2e7 100644 --- a/src/org/linphone/InCallActivity.java +++ b/src/org/linphone/InCallActivity.java @@ -136,7 +136,7 @@ public class InCallActivity extends FragmentActivity implements LinphoneCall call = LinphoneManager.getLc().getCalls()[0]; if (LinphoneUtils.isCallEstablished(call)) { - isVideoEnabled = call.getCurrentParamsCopy().getVideoEnabled(); + isVideoEnabled = call.getCurrentParamsCopy().getVideoEnabled() && !call.getRemoteParams().isLowBandwidthEnabled(); enableAndRefreshInCallActions(); } }