From 10d15039a09f548922b3ec93746194fc87a3978c Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Tue, 7 Feb 2023 10:13:25 -0800 Subject: [PATCH] Fix some invalid documentation links. Some of the docs used {@link} to refer to an intdef, which won't resolve in the javadoc. Fixing these. Test: Docs only change. Bug: 249779561 Change-Id: I3581a93c5630b35e6d850e252e6496b4314e0b2a --- telecomm/java/android/telecom/CallAttributes.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/telecomm/java/android/telecom/CallAttributes.java b/telecomm/java/android/telecom/CallAttributes.java index 6d879817b21dd..1a0f192ab72b3 100644 --- a/telecomm/java/android/telecom/CallAttributes.java +++ b/telecomm/java/android/telecom/CallAttributes.java @@ -116,13 +116,13 @@ public final class CallAttributes implements Parcelable { */ public static final int SUPPORTS_STREAM = 1 << 2; /** - * The call can be completely transferred from one endpoint to another + * The call can be completely transferred from one endpoint to another. */ public static final int SUPPORTS_TRANSFER = 1 << 3; /** * Build an instance of {@link CallAttributes}. In order to build a valid instance, a - * {@link PhoneAccountHandle}, call {@link Direction}, display name, and {@link Uri} address + * {@link PhoneAccountHandle}, call direction, display name, and {@link Uri} address * are required. * *

@@ -165,7 +165,8 @@ public final class CallAttributes implements Parcelable { } /** - * @param callType see {@link CallType} for valid arguments + * Sets the type of call; uses to indicate if a call is a video call or audio call. + * @param callType The call type. * @return Builder */ @NonNull @@ -180,7 +181,9 @@ public final class CallAttributes implements Parcelable { } /** - * @param callCapabilities see {@link CallCapability} for valid arguments + * Sets the capabilities of this call. Use this to indicate whether your app supports + * holding, streaming and call transfers. + * @param callCapabilities Bitmask of call capabilities. * @return Builder */ @NonNull