summaryrefslogtreecommitdiff
path: root/telecomm/java/android/telecom/Connection.java
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2021-07-01 16:55:32 -0700
committerTyler Gunn <tgunn@google.com>2021-07-01 16:55:32 -0700
commit60e5eb6d61011e7707d7b6860379887cc58b8f07 (patch)
tree261c18e08cca33291cdba08f9cee9eb4fdd09f46 /telecomm/java/android/telecom/Connection.java
parent24a0b944cd55a3e19845420f72a0eb2a776752e9 (diff)
Add a hidden extra key for caller number verification status.
This is used to work around a bug in the remote connection service API where this property is not being passed through to Telecom. Test: Use connection manager carrier and verify that VERSTAT is now propagated to Telecom. Bug: 192608283 Change-Id: Ie45e7c05d78623085cd2be32470a5870d243745c
Diffstat (limited to 'telecomm/java/android/telecom/Connection.java')
-rw-r--r--telecomm/java/android/telecom/Connection.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index 30403f416661..759afd72d539 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -671,6 +671,14 @@ public abstract class Connection extends Conferenceable {
public @interface AudioCodec {}
/**
+ * Contains the same value as {@link #getCallerNumberVerificationStatus()}, except will be
+ * present in the {@link #getExtras()} using this key.
+ * @hide
+ */
+ public static final String EXTRA_CALLER_NUMBER_VERIFICATION_STATUS =
+ "android.telecom.extra.CALLER_NUMBER_VERIFICATION_STATUS";
+
+ /**
* Connection extra key used to store the last forwarded number associated with the current
* connection. Used to communicate to the user interface that the connection was forwarded via
* the specified number.