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

Commit 9d3e4dfd authored by kopriva's avatar kopriva Committed by android-build-merger
Browse files

Merge "docs: bug 72929620, nonoteslas typo" into pi-dev am: 21155ef8

am: 3bc799f6

Change-Id: I98934a336c1f8c848a705e7f01a706b89ffbdf6d
parents 28a83c8f 3bc799f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ import java.util.GregorianCalendar;
 * Android may use a newer version of the model.
 */
public class GeomagneticField {
    // The magnetic field at a given point, in nonoteslas in geodetic
    // The magnetic field at a given point, in nanoteslas in geodetic
    // coordinates.
    private float mX;
    private float mY;
@@ -278,7 +278,7 @@ public class GeomagneticField {
    }

    /**
     * @return  Horizontal component of the field strength in nonoteslas.
     * @return  Horizontal component of the field strength in nanoteslas.
     */
    public float getHorizontalStrength() {
        return (float) Math.hypot(mX, mY);