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

Commit 03764e95 authored by Hall Liu's avatar Hall Liu
Browse files

Add enum entries for new call states

Add enum entries for the new call states in Telecom -- used in metrics

Bug: 140317205
Test: compiles
Change-Id: Icc58cdbb116fe55249eb9ddca5420ecb852dc424
parent 6dfa249c
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -110,6 +110,24 @@ enum CallStateEnum {
     * {@link android.telecom.Connection#CAPABILITY_CAN_PULL_CALL}.
     */
    PULLING = 10;

    /**
     * Indicates that an incoming call has been answered by the in-call UI, but Telephony hasn't yet
     * set the call to active.
     */
    ANSWERED = 11;

    /**
     * Indicates that the call is undergoing audio processing by a different app in the background.
     * @see android.telecom.Call#STATE_AUDIO_PROCESSING
     */
    AUDIO_PROCESSING = 12;

    /**
     * Indicates that the call is in a fake ringing state.
     * @see android.telecom.Call#STATE_SIMULATED_RINGING
     */
    SIMULATED_RINGING = 13;
}

// Disconnect causes for a call. Primarily used by android/telecom/DisconnectCause.java