From e9aa1aaa257c2c78b2cb310f8c1f86de82befb85 Mon Sep 17 00:00:00 2001 From: Evan Charlton Date: Thu, 10 Apr 2014 09:21:03 -0700 Subject: Expose CallState.NEW Expose CallState.NEW so that we have a state before DIALING. Immediately transitioning calls to DIALING is wrong, because that shouldn't happen until the CallService is actually dialing. Bug: 13902624 Change-Id: Id5ee0d4d050deb2f3038f3de8fdd265caa75f7b2 --- telecomm/java/android/telecomm/CallState.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'telecomm') diff --git a/telecomm/java/android/telecomm/CallState.java b/telecomm/java/android/telecomm/CallState.java index fd611cc..152c202 100644 --- a/telecomm/java/android/telecomm/CallState.java +++ b/telecomm/java/android/telecomm/CallState.java @@ -26,9 +26,8 @@ public enum CallState { /** * Indicates that a call is new and not connected. This is used as the default state internally * within Telecomm and should not be used between Telecomm and call services. Call services are - * not expected to ever interact with NEW calls so we keep this value hidden as a Telecomm - * internal-only value. - * @hide + * not expected to ever interact with NEW calls, but {@link InCallService}s will see calls in + * this state. */ NEW, -- cgit v1.1