diff options
author | Ihab Awad <ihab@google.com> | 2014-09-11 08:49:02 -0700 |
---|---|---|
committer | Ihab Awad <ihab@google.com> | 2014-09-11 15:02:39 -0700 |
commit | 2ef34be665c778755e8c5512f13add0902964cae (patch) | |
tree | 855715ec2a129f47b2a7ee7781d18d1fd9de23e8 /telecomm | |
parent | db352c783575afee2d6bc29baf45c83d5fc421cf (diff) | |
download | frameworks_base-2ef34be665c778755e8c5512f13add0902964cae.zip frameworks_base-2ef34be665c778755e8c5512f13add0902964cae.tar.gz frameworks_base-2ef34be665c778755e8c5512f13add0902964cae.tar.bz2 |
Change UI to represent conferenced IMS connections (1/3)
IMS conferenced connnections cannot individually hold or disconnect.
Bug: 17451623
Change-Id: Ie945d2c23f752f5403d01668606fe893dca0a882
Diffstat (limited to 'telecomm')
-rw-r--r-- | telecomm/java/android/telecomm/PhoneCapabilities.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/telecomm/java/android/telecomm/PhoneCapabilities.java b/telecomm/java/android/telecomm/PhoneCapabilities.java index 7a338b4..ec11376 100644 --- a/telecomm/java/android/telecomm/PhoneCapabilities.java +++ b/telecomm/java/android/telecomm/PhoneCapabilities.java @@ -78,8 +78,19 @@ public final class PhoneCapabilities { */ public static final int VoWIFI = 0x00000800; - public static final int ALL = HOLD | SUPPORT_HOLD | MERGE_CONFERENCE | SWAP_CONFERENCE | ADD_CALL - | RESPOND_VIA_TEXT | MUTE | MANAGE_CONFERENCE; + /** + * Call is able to be separated from its parent {@code Conference}, if any. + */ + public static final int SEPARATE_FROM_CONFERENCE = 0x00001000; + + /** + * Call is able to be individually disconnected when in a {@code Conference}. + */ + public static final int DISCONNECT_FROM_CONFERENCE = 0x00002000; + + public static final int ALL = HOLD | SUPPORT_HOLD | MERGE_CONFERENCE | SWAP_CONFERENCE + | ADD_CALL | RESPOND_VIA_TEXT | MUTE | MANAGE_CONFERENCE | SEPARATE_FROM_CONFERENCE + | DISCONNECT_FROM_CONFERENCE; public static String toString(int capabilities) { StringBuilder builder = new StringBuilder(); |