summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/PhoneAccount.java
diff options
context:
space:
mode:
authorShuo Qian <shuoq@google.com>2021-01-06 00:48:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-01-06 00:48:00 +0000
commitb31c9b4702bab5c82fbaf10f46cd02a336bc62d7 (patch)
treee7ea3ba7162c979cb2ae1585eed114c543ff7fd0 /telecomm/java/android/telecom/PhoneAccount.java
parent6e419a49a7bbb5cf42cac2f7a0c44c21123f9e1d (diff)
parentabee612ab0bdbd3fb8fef3bf4607a2dc305d2dcf (diff)
Merge "Add CAPABILITY_CALL_COMPOSER in PhoneAccount for enriched calling."
Diffstat (limited to 'telecomm/java/android/telecom/PhoneAccount.java')
-rw-r--r--telecomm/java/android/telecom/PhoneAccount.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/telecomm/java/android/telecom/PhoneAccount.java b/telecomm/java/android/telecom/PhoneAccount.java
index 5024ae27ee49..835ecaa8c90d 100644
--- a/telecomm/java/android/telecom/PhoneAccount.java
+++ b/telecomm/java/android/telecom/PhoneAccount.java
@@ -361,7 +361,13 @@ public final class PhoneAccount implements Parcelable {
*/
public static final int CAPABILITY_ADHOC_CONFERENCE_CALLING = 0x4000;
- /* NEXT CAPABILITY: 0x8000 */
+ /**
+ * Flag indicating whether this {@link PhoneAccount} is capable of supporting the call composer
+ * functionality for enriched calls.
+ */
+ public static final int CAPABILITY_CALL_COMPOSER = 0x8000;
+
+ /* NEXT CAPABILITY: 0x10000 */
/**
* URI scheme for telephone number URIs.
@@ -1088,6 +1094,9 @@ public final class PhoneAccount implements Parcelable {
if (hasCapabilities(CAPABILITY_ADHOC_CONFERENCE_CALLING)) {
sb.append("AdhocConf");
}
+ if (hasCapabilities(CAPABILITY_CALL_COMPOSER)) {
+ sb.append("CallComposer ");
+ }
return sb.toString();
}