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

Commit 76912d08 authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Ensure external calls are not logged." into nyc-mr1-dev

parents 30517ac4 d1660282
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;