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

am: 21155ef8bc

Change-Id: I3db7fd7f549e0ca4fba7434cfbb6cb529ab9ca1e
This commit is contained in:
kopriva
2018-10-01 11:58:15 -07:00
committed by android-build-merger

View File

@@ -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);