diff --git a/core/java/android/app/slice/Slice.java b/core/java/android/app/slice/Slice.java index e54d3b64f780b..d1aec048bdf15 100644 --- a/core/java/android/app/slice/Slice.java +++ b/core/java/android/app/slice/Slice.java @@ -425,7 +425,7 @@ public final class Slice implements Parcelable { /** * Add a sub-slice to the slice being constructed * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Builder addSubSlice(@NonNull Slice slice, @Nullable @SliceSubtype String subType) { Preconditions.checkNotNull(slice); @@ -437,7 +437,7 @@ public final class Slice implements Parcelable { /** * Add an action to the slice being constructed * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Slice.Builder addAction(@NonNull PendingIntent action, @NonNull Slice s, @Nullable @SliceSubtype String subType) { @@ -453,7 +453,7 @@ public final class Slice implements Parcelable { /** * Add text to the slice being constructed * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Builder addText(CharSequence text, @Nullable @SliceSubtype String subType, @SliceHint List hints) { @@ -464,7 +464,7 @@ public final class Slice implements Parcelable { /** * Add an image to the slice being constructed * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Builder addIcon(Icon icon, @Nullable @SliceSubtype String subType, @SliceHint List hints) { @@ -476,7 +476,7 @@ public final class Slice implements Parcelable { /** * Add remote input to the slice being constructed * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Slice.Builder addRemoteInput(RemoteInput remoteInput, @Nullable @SliceSubtype String subType, @@ -490,7 +490,7 @@ public final class Slice implements Parcelable { /** * Add an integer to the slice being constructed * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Builder addInt(int value, @Nullable @SliceSubtype String subType, @SliceHint List hints) { @@ -511,7 +511,7 @@ public final class Slice implements Parcelable { /** * Add a long to the slice being constructed * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Slice.Builder addLong(long value, @Nullable @SliceSubtype String subType, @SliceHint List hints) { @@ -525,7 +525,7 @@ public final class Slice implements Parcelable { *

Expected to be used for support library extension, should not be used for general * development * @param subType Optional template-specific type information - * @see {@link SliceItem#getSubType()} + * @see SliceItem#getSubType() */ public Slice.Builder addBundle(Bundle bundle, @Nullable @SliceSubtype String subType, @SliceHint List hints) { diff --git a/core/java/android/app/slice/SliceProvider.java b/core/java/android/app/slice/SliceProvider.java index 4c22c94266d78..ea9c9dab21ee2 100644 --- a/core/java/android/app/slice/SliceProvider.java +++ b/core/java/android/app/slice/SliceProvider.java @@ -209,7 +209,7 @@ public abstract class SliceProvider extends ContentProvider { * * @param sliceUri Uri to bind. * @param supportedSpecs List of supported specs. - * @see {@link Slice}. + * @see {@link Slice} * @see {@link Slice#HINT_PARTIAL} */ public Slice onBindSlice(Uri sliceUri, Set supportedSpecs) { diff --git a/core/java/android/content/ContentProvider.java b/core/java/android/content/ContentProvider.java index 2997e984add4c..f1b8d1e464491 100644 --- a/core/java/android/content/ContentProvider.java +++ b/core/java/android/content/ContentProvider.java @@ -1073,12 +1073,12 @@ public abstract class ContentProvider implements ComponentCallbacks2 { * Implement this to handle query requests where the arguments are packed into a {@link Bundle}. * Arguments may include traditional SQL style query arguments. When present these * should be handled according to the contract established in - * {@link #query(Uri, String[], String, String[], String, CancellationSignal). + * {@link #query(Uri, String[], String, String[], String, CancellationSignal)}. * *

Traditional SQL arguments can be found in the bundle using the following keys: - *

  • {@link ContentResolver#QUERY_ARG_SQL_SELECTION} - *
  • {@link ContentResolver#QUERY_ARG_SQL_SELECTION_ARGS} - *
  • {@link ContentResolver#QUERY_ARG_SQL_SORT_ORDER} + *
  • {@link android.content.ContentResolver#QUERY_ARG_SQL_SELECTION} + *
  • {@link android.content.ContentResolver#QUERY_ARG_SQL_SELECTION_ARGS} + *
  • {@link android.content.ContentResolver#QUERY_ARG_SQL_SORT_ORDER} * *

    This method can be called from multiple threads, as described in * Processes @@ -1135,8 +1135,8 @@ public abstract class ContentProvider implements ComponentCallbacks2 { return cursor; *

    - * @see #query(Uri, String[], String, String[], String, CancellationSignal) for - * implementation details. + * See {@link #query(Uri, String[], String, String[], String, CancellationSignal)} + * for implementation details. * * @param uri The URI to query. This will be the full URI sent by the client. * @param projection The list of columns to put into the cursor. diff --git a/core/java/android/text/style/ImageSpan.java b/core/java/android/text/style/ImageSpan.java index d4edde9ec5895..13ac9ff2ddaf2 100644 --- a/core/java/android/text/style/ImageSpan.java +++ b/core/java/android/text/style/ImageSpan.java @@ -259,7 +259,8 @@ public class ImageSpan extends DynamicDrawableSpan { * Returns the source string that was saved during construction. * * @return the source string that was saved during construction - * @see #ImageSpan(Drawable, String) and this{@link #ImageSpan(Context, Uri)} + * @see #ImageSpan(Drawable, String) + * @see #ImageSpan(Context, Uri) */ @Nullable public String getSource() {