From 2ccbeb75aa89a7ff598230ad08c27a10c8c774de Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Fri, 13 Oct 2023 13:16:35 +0000 Subject: Fix broken framework documentation Various issues here, but the most recurring one is referencing SystemApi from public javadoc. Remove or rewrite such references. Also common is trying to @link IntDefs. Usually this is not necessary, as the presence of IntDef in the @param/@return auto-generates relevant documentation. Bug: 303184203 Test: m docs Change-Id: Ie59e61881c45c73fbbe08250493bd35eca268ef6 --- location/java/android/location/GnssSignalType.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'location/java') diff --git a/location/java/android/location/GnssSignalType.java b/location/java/android/location/GnssSignalType.java index 16c3f2ed27d8..2dd67f0c12aa 100644 --- a/location/java/android/location/GnssSignalType.java +++ b/location/java/android/location/GnssSignalType.java @@ -34,8 +34,7 @@ public final class GnssSignalType implements Parcelable { /** * Creates a {@link GnssSignalType} with a full list of parameters. * - * @param constellationType the constellation type as defined in - * {@link GnssStatus.ConstellationType} + * @param constellationType the constellation type * @param carrierFrequencyHz the carrier frequency in Hz * @param codeType the code type as defined in {@link GnssMeasurement#getCodeType()} */ @@ -66,7 +65,7 @@ public final class GnssSignalType implements Parcelable { this.mCodeType = codeType; } - /** Returns the {@link GnssStatus.ConstellationType}. */ + /** Returns the constellation type. */ @GnssStatus.ConstellationType public int getConstellationType() { return mConstellationType; -- cgit v1.2.3-59-g8ed1b