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

Commit 78b13b36 authored by Justin Lannin's avatar Justin Lannin Committed by Android (Google) Code Review
Browse files

Merge "Sensor HAL: Update HEART_RATE permission documentation." into main

parents 7fbe1241 1a3847d4
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.
     */