Fix probable ui freeze on outgoingcall
This commit is contained in:
parent
6a8c3c7464
commit
128462655f
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue