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

Commit 991db672 authored by Youming Ye's avatar Youming Ye Committed by paulye
Browse files

Do not log the cancelled conference call

The cancelled conferece call is logged because it's active, and
therefore, shown as unknown. Since logging the conferece call without
event package was not expected, changing this to default behavior.
Remove the Or that leads to this case.

Bug: 134559759
Test: Build
Change-Id: I81e4ee495162d9336fc0345f7ca6e536cf42abc1
parent 07910bcc
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -223,10 +223,7 @@ public final class CallLogManager extends CallsManagerListenerBase {
            // Conference children connections only have CAPABILITY_DISCONNECT_FROM_CONFERENCE.
            // Log them when they are disconnected from conference.
            return Connection.can(call.getConnectionCapabilities(),
                    Connection.CAPABILITY_DISCONNECT_FROM_CONFERENCE)
                    // Sometimes conference participants don't look like merged due to special
                    // carrier requirements, e.g. could be one active and the other on hold.
                    || oldState == CallState.ACTIVE || oldState == CallState.ON_HOLD;
                    Connection.CAPABILITY_DISCONNECT_FROM_CONFERENCE);
        }
        // 5) An external call
        if (call.isExternalCall()) {