mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fix nullpointerexception if cancel addcall while another call is in pause
This commit is contained in:
parent
3da20210ba
commit
3fc1447ce6
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ public class DialerActivity extends Activity implements LinphoneGuiListener {
|
|||
mBack.setOnClickListener(new OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
LinphoneCall call = LinphoneManager.getLc().getCurrentCall();
|
||||
if (call.getCurrentParamsCopy().getVideoEnabled())
|
||||
if (call != null && call.getCurrentParamsCopy().getVideoEnabled())
|
||||
LinphoneActivity.instance().startVideoActivity(call, 0);
|
||||
else
|
||||
LinphoneActivity.instance().startIncallActivity();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue