Merge "Fix documentation of heart beat sensor" am: 3bef7fe58b am: a3d54aaa88

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1465663

Change-Id: I7ccbaa984ded806aee599066dc13eacc31244ead
This commit is contained in:
Treehugger Robot
2020-10-19 23:45:44 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 2 deletions

View File

@@ -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.
*

View File

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