Fix an issue with the dialer after the end of a call
This commit is contained in:
parent
2a0d7ada5b
commit
c4bccdb760
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ public class DialerActivity extends SoftVolumeActivity implements LinphoneGuiLis
|
|||
enterIncallMode(lc);
|
||||
}
|
||||
}else if (state==LinphoneCall.State.Error){
|
||||
if (lc.getCurrentCall()==call){
|
||||
if (lc.getCurrentCall() == null || lc.getCurrentCall()==call){
|
||||
if (mWakeLock.isHeld()) mWakeLock.release();
|
||||
showToast(R.string.call_error, message);
|
||||
exitCallMode();
|
||||
|
|
Loading…
Reference in a new issue