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

Commit d1660282 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Ensure external calls are not logged.

We never want to log external calls.

Bug: 27458894
Change-Id: Iea4c95342712b881244303934fc07969b1578f24
parent af5bcf69
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -144,10 +144,12 @@ public final class CallLogManager extends CallsManagerListenerBase {
        // 1) It was not in the "choose account" phase when disconnected
        // 2) It is a conference call
        // 3) Call was not explicitly canceled
        // 4) Call is not an external call
        if (isNewlyDisconnected &&
                (oldState != CallState.SELECT_PHONE_ACCOUNT &&
                 !call.isConference() &&
                 !isCallCanceled)) {
                 !isCallCanceled) &&
                !call.isExternalCall()) {
            int type;
            if (!call.isIncoming()) {
                type = Calls.OUTGOING_TYPE;