Fixed incoming call activity not finished if cancelled by remote while at least a call is running

This commit is contained in:
Sylvain Berfini 2019-11-26 14:54:56 +01:00
parent 9a928fbb41
commit 92b3832ab8

View file

@ -128,7 +128,7 @@ public class CallIncomingActivity extends LinphoneGenericActivity {
}
}
if (LinphoneManager.getCore().getCallsNb() == 0) {
if (state == State.End || state == State.Released) {
finish();
}
}