Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e5fd997 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Promotion of atel.lnx.2.0-00004.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1058473   I97f6ecc92f3fa816874540664c11ecb66cc39338   Revert "Expedite the processing of destroying Incall UI

Change-Id: I01f52dc3036f51d08bcc3b8bd6a6c51212bcfdce
CRs-Fixed: 1058473
parents fa927849 854224e9
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -538,8 +538,7 @@ public class CallList {

        boolean updated = false;

        if (call.getState() == Call.State.DISCONNECTING
                || call.getState() == Call.State.DISCONNECTED) {
        if (call.getState() == Call.State.DISCONNECTED) {
            // update existing (but do not add!!) disconnected calls
            if (mCallById.containsKey(call.getId())) {
                // For disconnected calls, we want to keep them alive for a few seconds so that the
@@ -568,8 +567,8 @@ public class CallList {
    }

    private int getDelayForDisconnect(Call call) {
        Preconditions.checkState(call.getState() == Call.State.DISCONNECTED
                || call.getState() == Call.State.DISCONNECTING);
        Preconditions.checkState(call.getState() == Call.State.DISCONNECTED);


        final int cause = call.getDisconnectCause().getCode();
        final int delay;
@@ -584,7 +583,6 @@ public class CallList {
            case DisconnectCause.REJECTED:
            case DisconnectCause.MISSED:
            case DisconnectCause.CANCELED:
            case DisconnectCause.UNKNOWN:
                // no delay for missed/rejected incoming calls and canceled outgoing calls.
                delay = 0;
                break;