diff options
| author | 2014-08-08 14:26:27 -0700 | |
|---|---|---|
| committer | 2014-08-08 14:36:40 -0700 | |
| commit | e9b7a8ed8c6c69f3994d2693b1d202d926e58d2c (patch) | |
| tree | 16ee666586fa8e901ee3d042bd537d8b40a1facc | |
| parent | d18a1da18d1f92acc2669f936da00cd66657e44b (diff) | |
Better comments for the CONNECTING state.
More readable for developers.
Bug: 16396523
Change-Id: I8db0949fcd62eb4d76db978a1633fbf6004035a6
| -rw-r--r-- | telecomm/java/android/telecomm/Call.java | 4 | ||||
| -rw-r--r-- | telecomm/java/android/telecomm/CallState.java | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/telecomm/java/android/telecomm/Call.java b/telecomm/java/android/telecomm/Call.java index 55cb8b15c308..0a54c71f573c 100644 --- a/telecomm/java/android/telecomm/Call.java +++ b/telecomm/java/android/telecomm/Call.java @@ -70,7 +70,9 @@ public final class Call { public static final int STATE_PRE_DIAL_WAIT = 8; /** - * The state of an outgoing {@code Call}, before Telecomm broadcast intent has returned. + * The initial state of an outgoing {@code Call}. + * Common transitions are to {@link #STATE_DIALING} state for a successful call or + * {@link #STATE_DISCONNECTED} if it failed. */ public static final int STATE_CONNECTING = 9; diff --git a/telecomm/java/android/telecomm/CallState.java b/telecomm/java/android/telecomm/CallState.java index cfa78d4903e9..0ca4840caef5 100644 --- a/telecomm/java/android/telecomm/CallState.java +++ b/telecomm/java/android/telecomm/CallState.java @@ -32,8 +32,9 @@ public enum CallState { NEW, /** - * Indicates an outgoing call has been initiated and is waiting for the broadcast intent to - * return and provide call details before proceeding. + * The initial state of an outgoing {@code Call}. + * Common transitions are to {@link #DIALING} state for a successful call or + * {@link #DISCONNECTED} if it failed. */ CONNECTING, |