Fix probable ui freeze on outgoingcall

This commit is contained in:
Erwan Croze 2017-04-25 15:04:23 +02:00
parent 6a8c3c7464
commit 128462655f

View file

@ -135,6 +135,8 @@ public class CallOutgoingActivity extends LinphoneGenericActivity implements OnC
lc.addListener(mListener); lc.addListener(mListener);
} }
mCall = null;
// Only one call ringing at a time is allowed // Only one call ringing at a time is allowed
if (LinphoneManager.getLcIfManagerNotDestroyedOrNull() != null) { if (LinphoneManager.getLcIfManagerNotDestroyedOrNull() != null) {
List<LinphoneCall> calls = LinphoneUtils.getLinphoneCalls(LinphoneManager.getLc()); List<LinphoneCall> calls = LinphoneUtils.getLinphoneCalls(LinphoneManager.getLc());