summaryrefslogtreecommitdiff
path: root/location/java
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2023-01-25 09:50:03 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-01-25 09:50:03 +0000
commit899d2fe8f87df5644cc3748d049f0cc2e1cece45 (patch)
tree4f0d38a62a1aee71ea3a47cc588d047ddc0ac678 /location/java
parent65fe242aacf4b779f57b8b8470fb88c798fc31a4 (diff)
parent8ad07e271f1acb30746502fd69a9d6260832f877 (diff)
Merge "Refactoring: Support alt. network time source"
Diffstat (limited to 'location/java')
-rw-r--r--location/java/android/location/GnssCapabilities.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/location/java/android/location/GnssCapabilities.java b/location/java/android/location/GnssCapabilities.java
index f9f9fa47df97..11b5833e35b3 100644
--- a/location/java/android/location/GnssCapabilities.java
+++ b/location/java/android/location/GnssCapabilities.java
@@ -240,7 +240,11 @@ public final class GnssCapabilities implements Parcelable {
}
/**
- * Returns {@code true} if GNSS chipset supports on demand time, {@code false} otherwise.
+ * Returns {@code true} if GNSS chipset requests periodic time signal injection from the
+ * platform in addition to on-demand and occasional time updates, {@code false} otherwise.
+ *
+ * <p><em>Note: The naming of this capability and the behavior it controls differ substantially.
+ * This is the result of a historic implementation bug, b/73893222.</em>
*/
public boolean hasOnDemandTime() {
return (mTopFlags & TOP_HAL_CAPABILITY_ON_DEMAND_TIME) != 0;