Merge "Add intdef for Telecom connection states." am: 96cf67465b am: a452afcc1b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1548978 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib48d977b744da3613932d3687d82a66bce6139e8
This commit is contained in:
@@ -109,6 +109,20 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
*/
|
*/
|
||||||
public abstract class Connection extends Conferenceable {
|
public abstract class Connection extends Conferenceable {
|
||||||
|
|
||||||
|
/**@hide*/
|
||||||
|
@Retention(RetentionPolicy.SOURCE)
|
||||||
|
@IntDef(prefix = "STATE_", value = {
|
||||||
|
STATE_INITIALIZING,
|
||||||
|
STATE_NEW,
|
||||||
|
STATE_RINGING,
|
||||||
|
STATE_DIALING,
|
||||||
|
STATE_ACTIVE,
|
||||||
|
STATE_HOLDING,
|
||||||
|
STATE_DISCONNECTED,
|
||||||
|
STATE_PULLING_CALL
|
||||||
|
})
|
||||||
|
public @interface ConnectionState {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The connection is initializing. This is generally the first state for a {@code Connection}
|
* The connection is initializing. This is generally the first state for a {@code Connection}
|
||||||
* returned by a {@link ConnectionService}.
|
* returned by a {@link ConnectionService}.
|
||||||
|
|||||||
Reference in New Issue
Block a user