diff options
author | Dong Zhou <a22255@motorola.com> | 2015-03-17 22:21:21 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-03-17 22:21:21 +0000 |
commit | bcb17eb7a9e0c33efeaae8a213f331d678e5a736 (patch) | |
tree | 5e570f836d80d9d28354ea522e6992df94969965 /telecomm/java/android/telecom | |
parent | 6a6cf634f527cdde9382e8fabb4de5aaad748879 (diff) | |
parent | 89f41eb39e910e220957ac861651ead17eff9085 (diff) | |
download | frameworks_base-bcb17eb7a9e0c33efeaae8a213f331d678e5a736.zip frameworks_base-bcb17eb7a9e0c33efeaae8a213f331d678e5a736.tar.gz frameworks_base-bcb17eb7a9e0c33efeaae8a213f331d678e5a736.tar.bz2 |
am 89f41eb3: Define the capability to speed up MT call audio
* commit '89f41eb39e910e220957ac861651ead17eff9085':
Define the capability to speed up MT call audio
Diffstat (limited to 'telecomm/java/android/telecom')
-rw-r--r-- | telecomm/java/android/telecom/Call.java | 11 | ||||
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 9 |
2 files changed, 19 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/Call.java b/telecomm/java/android/telecom/Call.java index 541e398..c1d2f9b 100644 --- a/telecomm/java/android/telecom/Call.java +++ b/telecomm/java/android/telecom/Call.java @@ -173,7 +173,7 @@ public final class Call { * Call is able to be individually disconnected when in a {@code Conference}. */ public static final int CAPABILITY_DISCONNECT_FROM_CONFERENCE = 0x00002000; - + /** * Whether the call is a generic conference, where we do not know the precise state of * participants in the conference (eg. on CDMA). @@ -182,6 +182,12 @@ public final class Call { */ public static final int CAPABILITY_GENERIC_CONFERENCE = 0x00004000; + /** + * Speed up audio setup for MT call. + * @hide + */ + public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 0x00008000; + private final Uri mHandle; private final int mHandlePresentation; private final String mCallerDisplayName; @@ -264,6 +270,9 @@ public final class Call { if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) { builder.append(" CAPABILITY_GENERIC_CONFERENCE"); } + if (can(capabilities, CAPABILITY_SPEED_UP_MT_AUDIO)) { + builder.append(" CAPABILITY_SPEED_UP_IMS_MT_AUDIO"); + } builder.append("]"); return builder.toString(); } diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index f8468d7..569163a 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -147,6 +147,12 @@ public abstract class Connection implements IConferenceable { */ public static final int CAPABILITY_GENERIC_CONFERENCE = 0x00004000; + /** + * Speed up audio setup for MT call. + * @hide + */ + public static final int CAPABILITY_SPEED_UP_MT_AUDIO = 0x00008000; + // Flag controlling whether PII is emitted into the logs private static final boolean PII_DEBUG = Log.isLoggable(android.util.Log.DEBUG); @@ -233,6 +239,9 @@ public abstract class Connection implements IConferenceable { if (can(capabilities, CAPABILITY_GENERIC_CONFERENCE)) { builder.append(" CAPABILITY_GENERIC_CONFERENCE"); } + if (can(capabilities, CAPABILITY_SPEED_UP_MT_AUDIO)) { + builder.append(" CAPABILITY_SPEED_UP_IMS_MT_AUDIO"); + } builder.append("]"); return builder.toString(); } |