Fix documentation of heart beat sensor

Bug: 158617116
Test: None
Change-Id: Ic6b2c631e0deced70790860ed2080eb5a8089091
This commit is contained in:
Arthur Ishiguro
2020-10-19 12:35:12 -07:00
parent b0d3d461f8
commit 63b75dd100
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