Merge "Fix documentation of heart beat sensor" am: 3bef7fe58b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1465663 Change-Id: Ib6ec0365c09e32ea0bce3cb00c20d1d3d8345916
This commit is contained in:
@@ -616,7 +616,7 @@ public final class Sensor {
|
||||
public static final String STRING_TYPE_MOTION_DETECT = "android.sensor.motion_detect";
|
||||
|
||||
/**
|
||||
* A constant describing a motion detect sensor.
|
||||
* A constant describing a heart beat sensor.
|
||||
*
|
||||
* See {@link android.hardware.SensorEvent#values SensorEvent.values} for more details.
|
||||
*
|
||||
|
||||
@@ -550,7 +550,7 @@ public class SensorEvent {
|
||||
* <h4>{@link android.hardware.Sensor#TYPE_HEART_BEAT
|
||||
* Sensor.TYPE_HEART_BEAT}:</h4>
|
||||
*
|
||||
* A sensor of this type returns an event everytime a hear beat peak is
|
||||
* A sensor of this type returns an event everytime a heart beat peak is
|
||||
* detected.
|
||||
*
|
||||
* Peak here ideally corresponds to the positive peak in the QRS complex of
|
||||
|
||||
Reference in New Issue
Block a user