Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a3847d4 authored by Justin Lannin's avatar Justin Lannin
Browse files

Sensor HAL: Update HEART_RATE permission documentation.

Replacing the use of a specific permission with the note that the
framework will override the permission used to ensure compatibility with
the given SDK vesrion.

Change-Id: Id30d3485a920aace131f5fd609e86331b6f2c7c9
Bug: 372749975
Flag: DOCS_ONLY
parent 8faadf3a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -275,8 +275,9 @@ enum SensorType {
     *  than every period_ns passed to setDelay() or to batch().
     *  See the definition of the on-change reporting mode for more information.
     *
     *  SensorInfo.requiredPermission must be set to
     *  SENSOR_PERMISSION_BODY_SENSORS.
     *  The framework will override the SensorInfo.requiredPermission to either
     *  SENSOR_PERMISSION_BODY_SENSORS or SENSOR_PERMISSION_READ_HEART_RATE
     *  depending on the platform SDK version in order to ensure compatibility.
     *
     *  Both wake-up and non wake-up versions are useful.
     */