summaryrefslogtreecommitdiff
path: root/location/java
diff options
context:
space:
mode:
author Yu-Han Yang <yuhany@google.com> 2023-03-31 01:08:24 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-03-31 01:08:24 +0000
commit020b0ce778ac1b79d8bae6c2c4fcfdc102e1e2ff (patch)
tree71ecdb84344a0978c2dcdb73c306eb5149ce3f5b /location/java
parent7bc2beb96de78f3050cd6e426e7e562060779779 (diff)
parentce970134c373049dd198e4443eb1273e03ffb7e1 (diff)
Merge "Correct getExtras("satellites")" into udc-dev am: f9f553805d am: ce970134c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22338461 Change-Id: Id318fc8babf0ae8a1f50d309df2474ee7e0928a3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'location/java')
-rw-r--r--location/java/android/location/Location.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/location/java/android/location/Location.java b/location/java/android/location/Location.java
index f5a9850b31dd..9be77281eb11 100644
--- a/location/java/android/location/Location.java
+++ b/location/java/android/location/Location.java
@@ -831,7 +831,9 @@ public class Location implements Parcelable {
* will be present for any location.
*
* <ul>
- * <li> satellites - the number of satellites used to derive a GNSS fix
+ * <li> satellites - the number of satellites used to derive a GNSS fix. This key was deprecated
+ * in API 34 because the information can be obtained through more accurate means, such as by
+ * referencing {@link GnssStatus#usedInFix}.
* </ul>
*/
public @Nullable Bundle getExtras() {