Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3afc6fa0 authored by David Christie's avatar David Christie Committed by Android (Google) Code Review
Browse files

Merge "Update Location documentation for altitude (WGS84 instead of sea level)."

parents f62d690b 552bd68c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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.
     */