summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shinru Han <shinruhan@google.com> 2021-03-17 06:27:27 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-03-17 06:27:27 +0000
commit40c904fb8b09e662739c40d1c390f7861a1855e6 (patch)
tree6659686b249f21d0e3abb7cea3f3dcf343b72f96
parent305cd29da5a4ed93d9f29cdf379a12433990244b (diff)
parent473ebd77d50f8d06d37d0202c45842cbfa63ec81 (diff)
Merge "Add comment for getMagnitude in CorrelationVector" into sc-dev
-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() {