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
This commit is contained in:
Hall Liu
2019-09-24 11:06:09 -07:00
parent 6dfa249c88
commit 03764e95eb

View File

@@ -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