From 03764e95eb9e8a28b4826d57c8ffb0331d8b3436 Mon Sep 17 00:00:00 2001 From: Hall Liu Date: Tue, 24 Sep 2019 11:06:09 -0700 Subject: 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 --- core/proto/android/telecomm/enums.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/proto/android/telecomm/enums.proto b/core/proto/android/telecomm/enums.proto index 7a2ba624c021..5ca4a85f7c6a 100644 --- a/core/proto/android/telecomm/enums.proto +++ b/core/proto/android/telecomm/enums.proto @@ -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 -- cgit v1.2.3-59-g8ed1b