Small fix to prevent the app to consider itself as in video mode after a pause/resume if correspondent in low bandwidth mode

This commit is contained in:
Sylvain Berfini 2013-01-08 11:12:05 +01:00
parent 404bc2d789
commit 43f66a1ba6

View file

@ -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();
}
}