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

Commit 84ce8c48 authored by yongnamcha's avatar yongnamcha Committed by Yongnam Cha
Browse files

Add CallStateChanged value for CallAnomalyWatchdog

This commit adds a value to report whether it is emergency call or not

Test: m & unit test
Change-Id: Id45cc25620ba054b821c38e3c5a1346a260d5e43
parent 7fb638c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1278,7 +1278,7 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable,
            int statsdDisconnectCause = (newState == CallState.DISCONNECTED) ?
                    getDisconnectCause().getCode() : DisconnectCause.UNKNOWN;
            TelecomStatsLog.write(TelecomStatsLog.CALL_STATE_CHANGED, newState,
                    statsdDisconnectCause, isSelfManaged(), isExternalCall());
                    statsdDisconnectCause, isSelfManaged(), isExternalCall(), isEmergencyCall());
        }
        return true;
    }
+1 −1
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ public class CallAnomalyWatchdog extends CallsManagerListenerBase implements Cal
    private void writeCallStateChangedAtom(Call call) {
        TelecomStatsLog.write(TelecomStatsLog.CALL_STATE_CHANGED, call.getState(),
                DisconnectCause.ERROR, call.isSelfManaged(),
                call.isExternalCall());
                call.isExternalCall(), call.isEmergencyCall());
    }

    /**