Fix crash which occur sometimes on the add of video
This commit is contained in:
parent
4ce4a2a869
commit
885cc3c59f
1 changed files with 3 additions and 3 deletions
|
@ -763,7 +763,7 @@ public class CallActivity extends LinphoneGenericActivity implements OnClickList
|
|||
LinphoneManager.getLc().updateCall(call, params);
|
||||
} else {
|
||||
videoProgress.setVisibility(View.VISIBLE);
|
||||
if (!call.getRemoteParams().isLowBandwidthEnabled()) {
|
||||
if (call.getRemoteParams() != null && !call.getRemoteParams().isLowBandwidthEnabled()) {
|
||||
LinphoneManager.getInstance().addVideo();
|
||||
} else {
|
||||
displayCustomToast(getString(R.string.error_low_bandwidth), Toast.LENGTH_LONG);
|
||||
|
|
Loading…
Reference in a new issue