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

Commit b0248ba6 authored by Peng Xu's avatar Peng Xu Committed by android-build-merger
Browse files

Merge "Sensor: Add more comments for ASensorEventQueue_registerSensor()...

Merge "Sensor: Add more comments for ASensorEventQueue_registerSensor() function" am: 8d24d002 am: 36e86c37
am: 069953e7

Change-Id: Ibb20cf554624c65c8f27c1216fbc0e796fcee1fc
parents e08f0b0b 069953e7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -397,6 +397,7 @@ int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue*
/**
 * Enable the selected sensor with a specified sampling period and max batch report latency.
 * Returns a negative error code on failure.
 * Note: To disable the selected sensor, use ASensorEventQueue_disableSensor() same as before.
 */
int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor,
        int32_t samplingPeriodUs, int maxBatchReportLatencyUs);