summaryrefslogtreecommitdiff
path: root/location/java
diff options
context:
space:
mode:
author Shinru Han <shinruhan@google.com> 2021-03-16 14:21:48 +0800
committer Shinru Han <shinruhan@google.com> 2021-03-17 11:32:06 +0800
commit473ebd77d50f8d06d37d0202c45842cbfa63ec81 (patch)
treee44945fe9112cc07fb8ed96d084f080ab372efac /location/java
parent4656985184ae118cf403fa6e0c52aa1dbced2dc7 (diff)
Add comment for getMagnitude in CorrelationVector
Bug: 179389247 Test: comment only Change-Id: I826e7a34940267a32e37ed57074e17c0c17b1515
Diffstat (limited to 'location/java')
-rw-r--r--location/java/android/location/CorrelationVector.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/location/java/android/location/CorrelationVector.java b/location/java/android/location/CorrelationVector.java
index 4b6e6882b50a..718977ff4296 100644
--- a/location/java/android/location/CorrelationVector.java
+++ b/location/java/android/location/CorrelationVector.java
@@ -77,6 +77,9 @@ public final class CorrelationVector implements Parcelable {
* be encoded as signed 16 bit integer where 1 is represented by 32767 and -1 is represented
* by -32768.
*
+ * <p>The values are quantized using a 16bit integer to save on the data size since the array
+ * contains real data and it might grow.
+ *
*/
@NonNull
public int[] getMagnitude() {