Merge "Fix documentation of heart beat sensor"

This commit is contained in:
Treehugger Robot
2020-10-19 22:39:05 +00:00
committed by Gerrit Code Review
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