summaryrefslogtreecommitdiff
path: root/telecomm
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2021-05-14 01:53:56 +0000
committerBrad Ebinger <breadley@google.com>2021-05-18 23:00:26 +0000
commit722cacf24d4c3ab595f52d2d9213de5f6c710408 (patch)
tree9082996f8aac3ff6984ed3d69a280c2544375396 /telecomm
parent211d6852679c2d37a3e0a143abf0529d1ba75316 (diff)
Clarify some UCE API docs
Adds some clarifications for how UCE operates in Android 12. Fixes: 188580687 Test: docs only change Change-Id: I139455c286378ccfac876014656f8d3177bdba9d
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecom/PhoneAccount.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/telecomm/java/android/telecom/PhoneAccount.java b/telecomm/java/android/telecom/PhoneAccount.java
index 579b33e9c283..e332d3ff2b4d 100644
--- a/telecomm/java/android/telecom/PhoneAccount.java
+++ b/telecomm/java/android/telecom/PhoneAccount.java
@@ -27,6 +27,7 @@ import android.net.Uri;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
+import android.telephony.CarrierConfigManager;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
@@ -283,10 +284,13 @@ public final class PhoneAccount implements Parcelable {
* number relies on presence. Should only be set if the {@code PhoneAccount} also has
* {@link #CAPABILITY_VIDEO_CALLING}.
* <p>
- * When set, the {@link ConnectionService} is responsible for toggling the
+ * Note: As of Android 12, using the
* {@link android.provider.ContactsContract.Data#CARRIER_PRESENCE_VT_CAPABLE} bit on the
* {@link android.provider.ContactsContract.Data#CARRIER_PRESENCE} column to indicate whether
- * a contact's phone number supports video calling.
+ * a contact's phone number supports video calling has been deprecated and should only be used
+ * on devices where {@link CarrierConfigManager#KEY_USE_RCS_PRESENCE_BOOL} is set. On newer
+ * devices, applications must use {@link android.telephony.ims.RcsUceAdapter} instead to
+ * determine whether or not a contact's phone number supports carrier video calling.
* <p>
* See {@link #getCapabilities}
*/