summaryrefslogtreecommitdiff
path: root/location/java
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2023-10-13 13:16:35 +0000
committer Anton Hansson <hansson@google.com> 2023-10-13 18:32:05 +0000
commit2ccbeb75aa89a7ff598230ad08c27a10c8c774de (patch)
tree9f9ddf23e427822b3641a2f991ce57f4946b0049 /location/java
parent56844fad9e73cae85c355db08efb3d2a6f249f61 (diff)
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
Diffstat (limited to 'location/java')
-rw-r--r--location/java/android/location/GnssSignalType.java5
1 files changed, 2 insertions, 3 deletions
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;