summaryrefslogtreecommitdiffstats
path: root/location
diff options
context:
space:
mode:
authorDavid Christie <dnchrist@google.com>2014-06-17 13:46:30 -0700
committerDavid Christie <dnchrist@google.com>2014-06-17 13:46:30 -0700
commit552bd68c2c592348b45fb823b939fb289afb4af7 (patch)
tree0b7f50743afa98f7193608965f0b27bbd48b7829 /location
parente54a764cfd83825096edd55dd22cc7b3a6af45da (diff)
downloadframeworks_base-552bd68c2c592348b45fb823b939fb289afb4af7.zip
frameworks_base-552bd68c2c592348b45fb823b939fb289afb4af7.tar.gz
frameworks_base-552bd68c2c592348b45fb823b939fb289afb4af7.tar.bz2
Update Location documentation for altitude (WGS84 instead of sea level).
Change-Id: I9531fba75bc1fee7d0e7c1dc179e3d05fb3e8a42
Diffstat (limited to 'location')
-rw-r--r--location/java/android/location/Location.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/location/java/android/location/Location.java b/location/java/android/location/Location.java
index f70110c..bdd1195 100644
--- a/location/java/android/location/Location.java
+++ b/location/java/android/location/Location.java
@@ -583,7 +583,8 @@ public class Location implements Parcelable {
}
/**
- * Get the altitude if available, in meters above sea level.
+ * Get the altitude if available, in meters above the WGS 84 reference
+ * ellipsoid.
*
* <p>If this location does not have an altitude then 0.0 is returned.
*/
@@ -592,7 +593,7 @@ public class Location implements Parcelable {
}
/**
- * Set the altitude, in meters above sea level.
+ * Set the altitude, in meters above the WGS 84 reference ellipsoid.
*
* <p>Following this call {@link #hasAltitude} will return true.
*/