diff options
author | Tyler Gunn <tgunn@google.com> | 2021-07-01 16:55:32 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2021-07-01 16:55:32 -0700 |
commit | 60e5eb6d61011e7707d7b6860379887cc58b8f07 (patch) | |
tree | 261c18e08cca33291cdba08f9cee9eb4fdd09f46 | |
parent | 24a0b944cd55a3e19845420f72a0eb2a776752e9 (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
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 8 |
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. |